Can anyone please give me this online script, i remember someone posting, but no search button anymore = (
<?php
/*change your server's name and host*/
$server['name'] = "MyPT";
$server['host'] = "127.0.0.1";
$server['port'] = "10007";
/*no need to change the further code*/
$connection = @fsockopen($server['host'], $server['port'], $ERROR_NO, $ERROR_STR, (float)1.5);
echo "{$server['name']} PristonTale server is ";
if($connection)
{
fclose($connection);
echo "<font color=\"green\">online</font>";
}
else
{
echo "<font color=\"red\">offline</font>";
}
?>