If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!I'm looking for a Reverse IP/IP checker script. Preferably free. Do you know where I can find one? Thanks!
Anyone?
Do something like this, call it whateveryouwant.php
This is what I have at http://www.southcomputers.com/yourinfo.php
I just use it to check the ip / reverse dns when I'm working on a clients computer.
You can do a lot more than just this, but here:
cut-----------------below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Reverse IP Check</title>
</head>
<body>
<?
$ip = $_SERVER['REMOTE_ADDR'];
$hostaddress = gethostbyaddr($ip);
$browser = $_SERVER['HTTP_USER_AGENT'];
$referred = $_SERVER['HTTP_REFERER'];
print "<bold>Your IP Address is:</bold><br />\n";
print "$ip<br /><br />\n";
print "<bold>Your Fully Qualified Doman Name:</bold><br />\n";
print "$hostaddress<br /><br />\n";
print "<bold>Info about your internet browser</bold>:<br />\n";
print "$browser<br /><br />\n";
print "<strong>Where you came from (if you clicked on a link to get here</strong>:<br />\n";
if ($referred == "") {
print "Page was directly requested";
}
else {
print "$referred";
}
?>
</body>
</html>
cut-----------------------------above
All offers good for 72 hours except running auctions
Progeria Research | Pulmonary Fibrosis | Dammit!
Thank you so much Scott! This is greatly appreciated.
Is the "print" command interchangeable with the "echo" command in PHP ... I didn't know that.
All offers good for 72 hours except running auctions
Progeria Research | Pulmonary Fibrosis | Dammit!
Thanks for that. I just thought maybe someone was nostalgic for the old "print" command from their days with basic, in which case we should petition the standards folks to use "?" in lieu of "print". ;-)
Bookmarks