Re: CURL cannot connect to URL - IP address - after successful connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/04/10 14:17, ioannes@xxxxxxxxxxxxxx wrote:
I can return a target page - once, but then on refresh within a few
hours the script curl_error is that it cannot connect to the host and
return is empty. The target URL is an ip address, not a named url, so
maybe it has something to do with DNS. I am on a shared server. Any
ideas on why this happens?

John

I've been watching this thread for a few days, and seen the various responses. It seems to me you should be asking the provider of the target page what the problem is! If you are consuming this service legitimately then they will tell you, and possibly provide a workaround. If not, then you probably shouldn't be doing what you are trying to do anyway - there a reason why they are blocking bots...

Cheers
Pete

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux