Results 1 to 3 of 3

Thread: IP tracking

  1. #1
    Join Date
    Oct 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IP tracking

    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..

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Your server already does this. Read the log files.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •