Location: PHPKode > scripts > Scriptplazza IP Address Script > sp-ip-address-1.0/sp-ip-address/index.php
<html">
	<head>
		<meta name="Keywords" content="ip, address, ip address, ipaddress," />
		<meta name="Description" content="What is my ip address?" />
		<link href="favicon.ico" type="image/png" rel="icon" />
		<title>IP Address</title>
		<style type="text/css">
			body{font-family:"Trebuchet MS",sans;text-align:center; background:transparent url(bg.jpg) repeat-x}
			h1{font-size:4em;color:#6a3;}
			h2{font-size:2em;color:#47c}
			h3{font-size:1em;color:#999}
			small{font-size:.3em;color:#555}
			a{color:#47c;text-decoration:none}
			a:hover{color:#6a3}
		</style>
	</head>
	
	<body>
		<h2>ip address</h2>
		<h1><?php $ip=$_SERVER['REMOTE_ADDR']; echo "$ip";?><br />
            <small><?php $ip2=gethostbyaddr($ip); echo $ip2;?></small></h1>
      	<h3><a href="/">IP Address</a> // <a title="More Details" href="/more.php">+</a> // powered by <a href="http://www.scriptplazza.com/">PHP Scripts</a></h3>
	</body>
</html>
Return current item: Scriptplazza IP Address Script