Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2006, 07:50 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default looking for the script that shows IP addy

Hi peeps

I am looking for the script that does this please

http://www.webprodevelopment.com/Web...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?
Reply With Quote
  #2  
Old 09-19-2006, 08:04 PM
nico_swd's Avatar
nico_swd nico_swd is offline
 
Join Date: Dec 2005
Location: Spain
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
extract($_SERVER);

echo $REMOTE_ADDR;

echo gethostbyaddr($REMOTE_ADDR);

echo $HTTP_USER_AGENT; 
Reply With Quote
  #3  
Old 09-19-2006, 08:15 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers m8, will try this

EDIT: Works well thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:40 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.