HubsInfo Network

TS3 status server PHP script

0 Members and 1 Guest are viewing this topic.

hubsinfo

TS3 status server PHP script
« on: June 30, 2016, 10:28:16 AM »
Check your TS3 server status with this simple PHP script:

Code: [Select]
if (!$socket = @fsockopen("udp://hostname-or-serverIP", 9987, $errno, $errstr, 1)) {
echo "TS server: OFFLINE";
} else  {
echo "TS server: ONLINE";
fclose($socket);
}
?>