fiasko's home page

PHP TeamSpeak2 TCP Server Interface Classes

Home... | English

About

While I was looking around for a nice piece of PHP code to dump a channel and player list of my TeamSpeak, I recorgnized a nice looking one from Mike (http://www.the-targets.de /).

But Mike's script has a to restrictive copyright in my opinion. So I throw everything except the nice pictures away and wrote my own GPL'ed one script - and here it is...

Install

To get the demos running, copy the images/ directory, the *.inc files and the *_demo.php files into a directory for you web server. Edit the config lines in head of the *_demo.php files and you should be done. An example output could be found here http://fiasko.dyndns.org/~ts/.

Description

There is the basic class ts2_tcpserver which provides the hole communication and response parsing stuff. Additional there is the ts2_tabledump class to show how to use ts2_tcpserver to get a pretty table output.

There is a demo script for each class, just change the host+port in the head of them for your needs and you should get a suitable output. There is also a little try of documentation in the doc/ directory... just if you are looking for a method.

The script was hackt together on a Debian Woody machine - so it shut work with PHP4 version 4.1.2-6woody3 and upwards.

License

Everything is under GPL here, except the images which are taken from Mike. The hole license is found in the COPYING file shipped along.

Download

All release are found in the download directory.

Author

It is written by Thomas Liske. If you found an error, have an question, extend or correct it, feel free to contact me at thomas@fiasko.dyndns.org or http://fiasko.dyndns.org/~thomas/.

Have fun...
Thomas Liske


04-10-05, Thomas Liske
n/a
Valid XHTML 1.0! Powered by Debian GNU/Linux No Software Patents! PGP: Privacy now!