PHP Question: How to make a link that automatically looks up an IP?

Aaron

New member
I have a PHP script to automatically log IP's on a specific page, and it automatically writes there IP's as a link.

However, the site originally used no longer works.

Example, here is my script:
<a href=http://NeedASite.com/lookup.php?ip='.$_SERVER['REMOTE_ADDR'].'>'.$_SERVER['REMOTE_ADDR'].'</a>

Where '.$_SERVER['REMOTE_ADDR'].' is replaced with the IP in question.

I need a new site that will automatically do a lookup or WhoIS on these IP's when clicking on the link.
 
Back
Top