|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Wanted, IP script
im after a simple script that will show the viewers IP when they open the page
please PM me if you can do this, need it done asap |
|
#2
|
||||
|
||||
|
Do you want it so the users will see their IP or that the IP will be logged on your end or both?
-MBirchmeier
__________________
My blog on programming related things. Hopefully I won't bog it down with details on my life Apparently even computers have freudian slips. 0x4279 7465 204D 6521 |
|
#3
|
|||
|
|||
|
so the users will see there IP
|
|
#4
|
||||
|
||||
|
Quote:
<?php echo($info["IP"]) ?> I'm not an PHP expert... but that should work. |
|
#5
|
|||
|
|||
|
its just coming up blank???
|
|
#6
|
|||
|
|||
|
<?=gethostbyname($_SERVER['REMOTE_ADDR'])?>
|
|
#7
|
||||
|
||||
|
I saw both on the same page, but didn't know if there was a difference or not... guess mine might have been a user variable.
|
|
#8
|
|||
|
|||
|
thanks MrOrange it works
|
![]() |
| Viewing: Dev Shed Forums > Other > Hire A Programmer > Wanted, IP script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|