So I was using php and was trying to store peoples ip so that I can make the verification of emails and changing of passwords via email more secure but I was getting a different value with REMOTE_ADDR
at certain times.
I came across this: How to get the client IP address in PHP
How would I be able to do this? (Ensuring that my SAPI is configured to show actual ip of TCP connection). I'm currently using aws to host my php website, (ec2, load balancer, cloudfront, etc). Any links to any source would be nice.