Advertisement:

Author Topic: 2 fields for ips  (Read 284 times)

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 141
    • generalcartalk.com
2 fields for ips
« on: February 22, 2018, 01:17:56 PM »
Hello,

I was having a look at th emembers table and I saw 2 fields for the ip, member_ip and member_ip2. Why are there 2 fields for ips?
It's fast, it's furious, it's generalcartalk.com

Check out my mods

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,360
  • I don't really come from outer space
    • MissAllSunday on GitHub
    • SMF mods
Re: 2 fields for ips
« Reply #1 on: February 22, 2018, 01:35:53 PM »
One is used for storing the users IP, the other one is used to store the reverse proxy IP if an user is using something like that.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 141
    • generalcartalk.com
Re: 2 fields for ips
« Reply #2 on: February 22, 2018, 01:42:47 PM »
One is used for storing the users IP, the other one is used to store the reverse proxy IP if an user is using something like that.

I see. I want to develop a mod that has to do with users ips and now everything is clear. Many thanks for your explanation. :)


It's fast, it's furious, it's generalcartalk.com

Check out my mods