Page 1 of 1

[Solved] cURL without output buffer

Posted: Wed May 30, 2007 3:11 pm
by superdezign
Is there a CURLOPT to prevent curl_exec() from display/executing a file?

I could clean it away using the output buffer, but it'd still run.
I'm trying to verify the safety of remote files before running them.

Posted: Wed May 30, 2007 4:10 pm
by superdezign
Well, instead of skimming the list of CURLOPTs, I actually read them.

CURLOPT_NOBODY was what I was after. :-D