PHP server script...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Black Halo 2k
Forum Newbie
Posts: 1
Joined: Thu May 30, 2002 6:20 pm

PHP server script...

Post by Black Halo 2k »

Is there any way that I can use php to display the curret status of my counter-strike server? I've seen it done before and wanna know how...
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

found this but haven't tested it
MattF
Forum Contributor
Posts: 225
Joined: Sun May 19, 2002 9:58 am
Location: Sussex, UK

Post by MattF »

I wanted one of these so I edited stuff I found and made it - it is on EvilWalrus, or you can look here to see the source: http://dev.mattford.net/si.phps or http://dev.mattford.net/si.php to actually use it. I edited it for my clan site by adding this line to the top to make it have by clan server by default:

Code: Select all

<?php
if(!isset($ip)) $ip = "server.hitmanclan.com:27015";
?>
Hope you like it and if you find any errors tell me!
Post Reply