<?php $fp = @fsockopen ("$ip","$gameport",$errno,$errstr,1); if ($fp) echo "Статус Сервера: online<br>"; else echo "Статус Сервера: offline<br>"; ?>