• Getting the status of a server with PHP?
    3 replies, posted
Is there a way to get the server info with PHP? For example, number of players, how long the server has been up, etc.
[url]https://github.com/xPaw/PHP-Source-Query-Class[/url]
I don't know much about how web servers and stuff works but I guess you could just use http.Post ([url]http://wiki.garrysmod.com/page/http/Post[/url]) to a URL? Count the amount of players and post it? Just make functions for everything you need in game and post it to a URL.
[QUOTE=Klaes4Zaugen;46394885]I don't know much about how web servers and stuff works but I guess you could just use http.Post ([url]http://wiki.garrysmod.com/page/http/Post[/url]) to a URL? Count the amount of players and post it? Just make functions for everything you need in game and post it to a URL.[/QUOTE] Thanks for the idea, but I'll use SourceQuery instead.
Sorry, you need to Log In to post a reply to this thread.