[PHP] CURL intermittant problem

2009-06-11 Thread ioan...@btinternet.com
I have been having problems with a curl script which works normally with many different URLs but had a particular intermittant problem with a url in the following format: http://10.20.30.40/0001/032/023112/filename.phtml?param1=paramvalue1param2=paramvalue2 etc etc. The unusual thing

Re: [PHP] CURL intermittant problem

2009-06-11 Thread Daniel Brown
On Thu, Jun 11, 2009 at 19:07, ioan...@btinternet.comioan...@btinternet.com wrote: The target URL works perfectly and quicly if put directly into the browser URL line. Do you know of any other reasons for problems with such a connection? Is the script being run located on the same system

Re: [PHP] CURL intermittant problem

2009-06-11 Thread Martin Scotta
It looks like a connection problem, You has to make sure php can connect to the IP ?php echo exec( 'ping 10.20.30.40' ); ? You can remove the IP from the source, just add an entry in the /etc/hosts file Mrtn On Thu, Jun 11, 2009 at 8:14 PM, Daniel Brown danbr...@php.net wrote: On Thu,