|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Getting viwers IP address
Is there any way to get the IP address of a person who views your web site?
I have a site that shows a person their IP address, but what kind of scripting do I need to have that address sent to me? Or is there an any easier way to get a person's IP address? Thanks |
|
#2
|
||||
|
||||
|
In PHP its
PHP Code:
Here's a script that gets IP's done in Javascript, though it may be overkill for what you need: http://javascript.internet.com/user...ip-address.html
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
|
#3
|
|||
|
|||
|
ahh yes
I actually found this site already. However, does this only give the user the IP address or does it make the address available to me also (and if so, how)? Thanks |
|
#4
|
||||
|
||||
|
If u use php or perl then u can save it in ur database and access it later
|
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Getting viwers IP address |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|