Hi, running a swedish clan site and now i'm trying to make a little panel for the site that shows our war server to the clan members along with some other info. However i do wish to make it say Server Offline if it's not online, is there someone that could help me put a little snippet together to get the status of the server and if it's offline to make it show the text Server Offline if it is? The usual port for counter-strike servers isf 27015 and that's the port needed to get the status of, any help is appriciated
is it so, that the server is totally offline from the web? or is it only the CS-server function that gets turned off?
Well i've played around with some php stuff, what i want to do is query the actual port 27015 or ping it or something to get a answer challenged. However i do not know how to do it, if the server answers the challenge it should show the server info and if it does not reply to the challenge it should say Server Offline. Now if the server is offline the site doesn't even work.