curl-and-php
Re: http_get, but ignore data coming back?
Date: Sat, 23 Jan 2010 01:26:38 +0800
Hi Lloyd,
You can try setting a dummy function for CURLOPT_WRITEFUNCTION.
http://www.php.net/manual/en/function.curl-setopt.php#73742
<http://www.php.net/manual/en/function.curl-setopt.php#73742>
With regards,
Liu Shan Shui
http://lx.sg/
"Life would be much easier if I had the source code." - Anonymous
On Fri, Jan 22, 2010 at 10:37 PM, Lloyd Leung <ll_at_lloydleung.com> wrote:
> Is it possible to do a http_get request but ignore the data coming back?
>
> I just want to trigger the server to perform a backend server action,
> but ignore the data coming back -- so I can just move on in my script.
>
>
> Thanks
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2010-01-22