Valuate Domain Names
DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
HomeRegisterMembershipsGetting StartedDomain Tools Domain EbooksSEO Software Domain Resellers Advertise

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 07-14-2009, 09:23 PM   #1 (permalink)
Platinum Lifetime Member
 
janineg's Avatar
 
Last Online: 09-20-2009 08:06 PM
iTrader: (5)
Join Date: Aug 2007
Posts: 62
DNF$: 10
Location: Florida


IP Checker Script

I'm looking for a Reverse IP/IP checker script. Preferably free. Do you know where I can find one? Thanks!
janineg is offline   Reply With Quote
Sponsored Ads
Old 07-18-2009, 02:02 PM   #2 (permalink)
Platinum Lifetime Member
 
janineg's Avatar
 
Last Online: 09-20-2009 08:06 PM
iTrader: (5)
Join Date: Aug 2007
Posts: 62
DNF$: 10
Location: Florida


Anyone?
janineg is offline   Reply With Quote
Old 07-18-2009, 02:45 PM   #3 (permalink)
DNF Addict
 
south's Avatar
 
Name: Scott
Last Online: Today 05:12 PM
iTrader: (137)
Join Date: Dec 2006
Posts: 3,132
DNF$: 2,659
Location: 33143/04930
Country:


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 valid for 72 hours except running auctions.

SJCParking.com | SFOOffsiteParking.com | LaGuardiaParking.net
south is offline   Reply With Quote
Old 07-25-2009, 03:21 AM   #4 (permalink)
Platinum Lifetime Member
 
janineg's Avatar
 
Last Online: 09-20-2009 08:06 PM
iTrader: (5)
Join Date: Aug 2007
Posts: 62
DNF$: 10
Location: Florida


Thank you so much Scott! This is greatly appreciated.
janineg is offline   Reply With Quote
Old 08-01-2009, 03:47 PM   #5 (permalink)
Gold Lifetime Member
 
RodanMedia's Avatar
 
Name: Danny Pryor
Last Online: 10-22-2009 01:37 PM
iTrader: (0)
Join Date: Jul 2009
Posts: 10
DNF$: 10
Location: Fort Lauderdale
Country:

Send a message via AIM to RodanMedia Send a message via Yahoo to RodanMedia Send a message via Skype™ to RodanMedia

Is the "print" command interchangeable with the "echo" command in PHP ... I didn't know that.
RodanMedia is offline   Reply With Quote
Old 08-01-2009, 04:29 PM   #6 (permalink)
DNF Addict
 
south's Avatar
 
Name: Scott
Last Online: Today 05:12 PM
iTrader: (137)
Join Date: Dec 2006
Posts: 3,132
DNF$: 2,659
Location: 33143/04930
Country:


Quote:
Originally Posted by RodanMedia View Post
Is the "print" command interchangeable with the "echo" command in PHP ... I didn't know that.
http://www.faqts.com/knowledge_base/...l/aid/1/fid/40

http://www.learnphponline.com/php-ba...-echo-vs-print
__________________
All offers valid for 72 hours except running auctions.

SJCParking.com | SFOOffsiteParking.com | LaGuardiaParking.net
south is offline   Reply With Quote
Old 08-01-2009, 04:46 PM   #7 (permalink)
Gold Lifetime Member
 
RodanMedia's Avatar
 
Name: Danny Pryor
Last Online: 10-22-2009 01:37 PM
iTrader: (0)
Join Date: Jul 2009
Posts: 10
DNF$: 10
Location: Fort Lauderdale
Country:

Send a message via AIM to RodanMedia Send a message via Yahoo to RodanMedia Send a message via Skype™ to RodanMedia

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". ;-)
RodanMedia is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:17 PM.
Copyright @2001-2009 DNForum.com