PHP Classes

Counter-Strike Source Query: Query a Counter-Strike source game server

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 4,198 All time: 717 This week: 35Up
Version License Categories
cssource 1.0.0GNU General Publi...Networking, Games
Description 

Author

This class is meant to be used to query a Counter-Strike: Source game server

It retrieves server information, the players currently connected to the server and the server rules.

An example script is included to show how the data can be output to the user.

Innovation Award
PHP Programming Innovation award nominee
August 2004
Number 8
Counter-Strike is a very popular first person shooter online game that can be played by many simultaneous users that connect to a game server on the same network.

This class can connects to a Counter-Strike game server to extract interesting statistics that can be used to display on the Web so even other people that is not play may have access.



Manuel Lemos
Picture of Thomas Graham
Name: Thomas Graham <contact>
Classes: 2 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (7)  
File Role Description
Files folder imagetemplates (4 files)
Plain text file cssource_class.php Class Class file
Accessible without login Plain text file index.php Example Example script
Plain text file template_class.php Class Template class for use with the example script

  Files folder image Files (7)  /  templates  
File Role Description
  Accessible without login Plain text file player.tpl Data Template
  Accessible without login Plain text file rule.tpl Data Template
  Accessible without login Plain text file wrapper.tpl Data Template
  Accessible without login Plain text file wrapper_empty.tpl Data Template

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,198
This week:0
All time:717
This week:35Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1912