$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); if ($fp) echo "Domain Online"; else echo "Not"; fclose($fp);
Comment