PHP Code:
<?php
$ip = "Your IP Here. No http://";
$port = "80";
if (! $sock = @fsockopen($ip, $port, $num, $error, 2))
echo "<font color='red'>The host computer is off. Please try later.</font>";
else{
echo '<iframe src="http://Your IP again/YourRegisterPage.php" frameborder="0" height="Height" width="100%" scrollable="no"> Your Browser Does not support iframes!</iframe>';
fclose($sock);
}
?>
PHP Code:
<?php
$ip = "68.253.76.228";
$port = "80";
if (! $sock = @fsockopen($ip, $port, $num, $error, 2))
echo "<font color='red'>We are sorry, the host is offline. Check back later.</font>";
else{
echo '<iframe src="http://68.253.76.228/Register.php" frameborder="0" height="100" width="100%" scrollable="no"> Your Browser Does not support iframes, Sorry!</iframe>';
fclose($sock);
}
?>







