SAN ANDREAS: MULTIPLAYER
GAME SERVER QUERY CLASS
Written by: Bogdan Zarchievici <opensource@creative-media.ro>
Version: 1.0.0.a
Revision: Friday, May 19, 2006 at 9:24:43 PM
Comments: works with any PHP version greater than 4.1.0.
Special thanks to: Alexandru Burdulea and all of you who have been actively interested in the development of this class.
For more details on SA-MP please visit:
http://www.sa-mp.com
http://www.sa-mp.com/blog.php
http://www.sanandreas.ro
------------------------------------------------------------------------
USAGE:
Call the PHP class:
$class=&new san_andreas(IP,PORT);
Getting the status of the San Andreas: Multiplayer server:
print_r(get_object_vars($class));
You must complete the 1st and 2nd parameter of the status function with the IP and PORT of the San Andreas: Multiplayer server you want to query.
There is currently only 1 variable that you can easily change:
TIMEOUT = I recommend leaving it to 10 (ten) seconds. However you can increase or decrease it as you like.
------------------------------------------------------------------------
CONTACT:
Please use the following e-mail address in case you find any bugs. Also, feel free to contact me if you need any help setting up this class.
If you use this class in your PHP project or on your website, please drop me a message and tell me the link to your website so I can put it on my website.
opensource [at] creative-media.ro |