[BAK]ThePro
New Member
- Messages
- 61
- Reaction score
- 0
- Points
- 0
since i want to make a whatsmyip site and i realy want to
<html>
<head>
<title>What's My IP?</title>
</head>
<body>
<?php
$ip=$_SERVER['REMOTE_ADDR'];
echo "<center><h2><font face='Verdana' size='3'><b>Your IP is: $ip</b></h2></center>";
?>
</body>
</html>
Do you mean one like
http://x10status.uni.cx/myip.php
?
I just used
PHP:<html> <head> <title>What's My IP?</title> </head> <body> <?php $ip=$_SERVER['REMOTE_ADDR']; echo "<center><h2><font face='Verdana' size='3'><b>Your IP is: $ip</b></h2></center>"; ?> </body> </html>