Jump to content

Archived

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

Anidazen

CURL suddenly returning * for one page?

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();

Share this post


Link to post
Share on other sites
Any ideas?

Possibly they banned me, but I only hit the site like 19 times total while working on parsing...

Share this post


Link to post
Share on other sites

×

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.