Hi boys and girls, I'm using cURL and PHP to download data from my business partners websites. This is all working well except in one case. Check out http://www.eyeonmogs.com/mike/testBrogame.php, you an see the first two connections are successful and download data - the latter fails to connect. Interestingly this works fine from my localhost... It's possible this is an IP blocking issue (which I'll be checking on Monday), however I bring it up here as this last data grab posts some post variables for authentication. This works well on my local machine. Any chance that my host might have disabled the post variables in cURL for some reason? Or any otehr thoughts why this might be causing an issue? Thanks in advance eveyone, Mike
Also try these directives : set_time_limit(0);//As the script may time out curl_setopt($ch, CURLOPT_TIMEOUT, 50);//Because the curl request can also time out :) PHP: