

| | #1 (permalink) |
| Platinum Lifetime Member 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! |
| | |
| Sponsored Ads |
| | #3 (permalink) |
| DNF Addict 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 |
| | |
| | #6 (permalink) | |
| DNF Addict 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:
http://www.learnphponline.com/php-ba...-echo-vs-print
__________________ All offers valid for 72 hours except running auctions. SJCParking.com | SFOOffsiteParking.com | LaGuardiaParking.net | |
| | |
| | #7 (permalink) |
| Gold Lifetime Member 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: | 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". ;-) |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |