HubsInfo Network
Login or Register to remove ads! You're browsing our forum and website as a Guest meaning you can only see a portion of the forum in read-only mode.
PHP MySQL Linux Material Design Web Hosting Online Games SimCity BuildIt

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);
}
?>
 



Linux Ubuntu Guides Linux games - Lutris.net