Jump to content

CURL suddenly returning * for one page?


Anidazen

Recommended Posts

I was working on a script using complicated parsing on some external websites.

One of the scripts suddenly started returning nothing but an asterix! Any idea why this is?

Curl code being used is as follows. URL is definitely still correct.

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
ob_start();
curl_exec($ch);
curl_close($ch);
$content = ob_get_contents();
ob_end_clean();
Link to comment
https://forums.phpfreaks.com/topic/14930-curl-suddenly-returning-for-one-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.