PHP Classes

connect to the host

Recommend this page to a friend!

      PHP HTTP protocol client  >  All threads  >  connect to the host  >  (Un) Subscribe thread alerts  
Subject:connect to the host
Summary:Error: 0 could not connect to the host
Messages:3
Author:Adam
Date:2007-11-15 06:35:45
Update:2007-11-20 00:16:12
 

  1. connect to the host   Reply   Report abuse  
Picture of Adam Adam - 2007-11-15 06:35:45
Hi,

I have been using the class for a client on our testing server, everything is working as it should. We then moved it over to their server (same specs) and now we cannot get past this message:

Error: 0 could not connect to the host domain.com

Would there be any setting on the server that need to be updated in order for this to work? They tried to turn the firewall off but no such luck. We also tried an IP instead of the host domain but this wasn't any good either.

Thanks

  2. Re: connect to the host   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-11-16 07:30:07 - In reply to message 1 from Adam
Maybe fsockopen or curl library functions are disabled on that server. Error 0 seems to mean that is not a system call error.

  3. Re: connect to the host   Reply   Report abuse  
Picture of Adam Adam - 2007-11-20 00:16:12 - In reply to message 2 from Manuel Lemos
Great, thankyou, this was it. curl library functions