I'm using $_SERVER[REMOTE_ADDR] to keep audit of unsecured pages (without login). Somehow from last two days it's behaving bit wierd.
Ex: If I access unsecured page, IP address which is inserted is having location at least 3000 Km's from my location (In fact outside the country from which I'm accessing). Note: I'm finding out ip address location using URL: http://whatismyipaddress.com/
Can you please help me to understand this?
Sample code is mentioned below
INSERT INTO LOG_TABLE (SEQUENCE_ID,IP_ADDRESS, C_DATE) VALUES (NULL,'$_SERVER[REMOTE_ADDR]',NOW())