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

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

 



> -----Original Message-----
> From: ioannes@xxxxxxxxxxxxxx [mailto:ioannes@xxxxxxxxxxxxxx]
> Sent: Sunday, April 25, 2010 6:18 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  CURL cannot connect to URL - IP address - after successful
> connection
> 
> 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
> 

Just to eliminate all possibilities, are you to open the same URL/URI in the
web pages repeatedly?  Also, what happens when you fake the user agent in
the web browser?  The target site may have some anti bot mechanism in place
to reduce stress/load on the server(s).

Regards,
Tommy


-- 
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