View Full Version : fsockopen?

02-25-2007, 01:04 PM
is there any way to test if fsockopen command is available to be used on my hosting server? my web hosts advise me that it is up and running (I had to pay extra to get a dedicated server to get the function) but im not too sure as I cannot connect to grab shoutcast stats using the function with a script i already have, which is my goal (I run a internet radio site) , however if i upload exactly the same script to another server i use for another site to test it, it works without problem.

ive been onto my web hosts but all they say is that its a coding issue and wont help. If its a coding issue, how does it work ok on another server :rolleyes:

I want to show them that it just does not work, is they're any test scripts out there that i could try.


02-25-2007, 04:24 PM
You need to read what the manual says about fsockopen (http://us3.php.net/fsockopen). There is an error message parameter that you can set which will give you a system-level error for this command and tell you why this command isn't working on your server.