> -----Original Message----- > From: Tommy Pham [mailto:[email protected]] > Sent: Monday, April 26, 2010 1:59 AM > To: '[email protected]' > Subject: RE: [PHP] CURL cannot connect to URL - IP address - after successful > connection > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > Sent: Sunday, April 25, 2010 6:18 AM > > To: [email protected] > > Subject: [PHP] 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
One more thing, check it with cookies enabled/disabled in the web browser too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

