I am using $_SERVER['REMOTE_ADDR'] in my php file to get the user's IP address emailed to me.

I tested this from my machine 5 times last week, and all the 5 mails i got had the SAME IP address. But when i tested it today, I get a different IP address.

Is this how REMOTE_ADDR works? Is there a solution?

Thanks in advance