[Solved] cURL without output buffer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

[Solved] cURL without output buffer

Post 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.
Last edited by superdezign on Wed May 30, 2007 4:11 pm, edited 1 time in total.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Well, instead of skimming the list of CURLOPTs, I actually read them.

CURLOPT_NOBODY was what I was after. :-D
Post Reply