PDA

View Full Version : looking for the script that shows IP addy


bashy
08-27-2006, 08:50 AM
Hi peeps

I am looking for the script that does this please

http://www.webprodevelopment.com/Web_Toys/What_Is_My_IP/
If you follow the links on the page they are allso very usefull for the end user
What's My IP?
What's my User Agent?
Find location by IP?

nico_swd
09-19-2006, 09:04 PM
extract($_SERVER);

echo $REMOTE_ADDR;

echo gethostbyaddr($REMOTE_ADDR);

echo $HTTP_USER_AGENT;

bashy
09-19-2006, 09:15 PM
Cheers m8, will try this

EDIT: Works well thanks