How can I stop cURL from outputting the contents of the page it loads into the browser?
Posted
by Rob
on Stack Overflow
See other posts from Stack Overflow
or by Rob
Published on 2010-06-15T02:04:51Z
Indexed on
2010/06/15
2:12 UTC
Read the original article
Hit count: 248
I currently use curl_multi_* to connect to a few sites. Its only sending a few $_GET
variables to start a script, but it outputs the html from the sites to the browser. I want to stop this. I already use a short timeout, but sometimes the scripts start fast, and I don't want to set the timeout any lower, in case it causes it not to connect.
So how can I stop the output to the browser from cURL?
© Stack Overflow or respective owner