curl_exec supress output
Posted: Tue Jan 19, 2010 8:58 am
This code:
Displays me:
I want to not display anything, how can I make it?
Code: Select all
$ch = curl_init('http:yahoo.com');
curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);Code: Select all
The document has moved here.I want to not display anything, how can I make it?