PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 4,196 All time: 717 This week: 180Up
Version License Categories
cssource 1.0.0GNU General Publi...Networking, Games


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
Age: 37
All time rank: 675 in United Kingdom
Week rank: 364 Down14 in United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
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  /  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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:717
This week:180Up
 User Ratings  
 All time