Problem getting response from server using cURL, file_get_contents, etc
Posted
by shyam
on Stack Overflow
See other posts from Stack Overflow
or by shyam
Published on 2010-05-05T08:31:10Z
Indexed on
2010/05/05
8:38 UTC
Read the original article
Hit count: 140
I am trying to get the response from a server, which is now not giving any response. I tried file_get_contents()
, cURL
, and tried getting the headers, but apparently the server is not responding. There are no headers returned or any response of any kind. Also, this happens when I try from my web server - it works fine in my local machine.
The server I'm calling is an sms server, to use which they've given a url. The problem is only with this particular server. I get response while trying Google. So may be it's caused by the called server.
What I wanna know is what could be (or how to find out) the reasons...
Any advices?
© Stack Overflow or respective owner