A little problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: A little problem (
/showthread.php?tid=297375)
A little problem -
Yvax - 15.11.2011
Hi,
I'm using a php page to query a sa-mp server.It works fine on my localhost but when I upload the php on my website it says the server is offline even if it isnt.So, what's wrong?
Thank you!
Re: A little problem -
Fj0rtizFredde - 15.11.2011
I guess your host disable the socket functions. (If you now are using it)
Re: A little problem -
JiHost - 15.11.2011
Make sure you changed server IP in your script from "127.0.0.1" or "localhost" to your computer IP.
Re: A little problem - array13 - 15.11.2011
If you are on a web host, you should change your server ip from localhost to the server ip.
@jihost you are fast :S
Re: A little problem -
Norn - 15.11.2011
If it's a free host it won't have sockets enabled unless they're extremely stupid.