A little problem
#1

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!
Reply
#2

I guess your host disable the socket functions. (If you now are using it)
Reply
#3

Make sure you changed server IP in your script from "127.0.0.1" or "localhost" to your computer IP.
Reply
#4

If you are on a web host, you should change your server ip from localhost to the server ip.

@jihost you are fast :S
Reply
#5

If it's a free host it won't have sockets enabled unless they're extremely stupid.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)