What are the needs for keeping a user IP address, upon site registration?

Discussion in 'PHP' started by eritrea1, Jul 12, 2012.

  1. #1
    I mean, aside from keeping it for a purpose of banning, multiple registration from same PC, and counting online users (not sure about counting users though).
    The, what is the need for keeping an IP of the user?


    I just need to know more, because if it is beneficial I need to use it.
     
    eritrea1, Jul 12, 2012 IP
  2. phptechie

    phptechie Well-Known Member

    Messages:
    885
    Likes Received:
    10
    Best Answers:
    2
    Trophy Points:
    165
    #2
    Its also used to find the location / origin of the IP , so that if there is illegal activities going on using that IP , Law enforcement authorities can use it to track down the users
     
    phptechie, Jul 13, 2012 IP
  3. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #3
    And the location is useful for other things, like setting the default language, the timezone or, on the right kind of site, locating the 3 nearest stores to the user (or some other function like that).
     
    Rukbat, Jul 13, 2012 IP