PDA

View Full Version : IP tracking



Determined..
10-30-2005, 08:53 AM
im making a website and im alright with javascript and html (i've made a different right click disabler that displays a message) and can do a lot of stuff in HTML. But i'm making a website and want to track IP addresses for security just in case and don't know how to do this. Does anyone know how to? If you can i'd be very thankful

-
Determined..

cr3ative
10-30-2005, 10:17 AM
Your server already does this. Read the log files.

cr3ative

Twey
10-30-2005, 08:23 PM
You cannot do this client-side. If you can't use the server's log files (you run a rubbish HTTP server, you don't have access to its logs...), you need a server-side language. For example, in PHP you can access the remote address with $_SERVER['REMOTE_ADDR'].

P.S. Not to put anyone out of business here, but "disabling" right-click is rarely wise and never effective.