Jump to content


Photo

CURL suddenly returning * for one page?


  • Please log in to reply
1 reply to this topic

#1 Anidazen

Anidazen
  • Members
  • PipPipPip
  • Advanced Member
  • 79 posts

Posted 18 July 2006 - 12:44 PM

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

#2 Anidazen

Anidazen
  • Members
  • PipPipPip
  • Advanced Member
  • 79 posts

Posted 18 July 2006 - 09:26 PM

Any ideas?

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users