I’ve tried to get the IP address of client browsing the site using
$_SERVER['REMOTE_ADDR'], but I’m not getting the exact IP of the client
please help me… Thanks
I’ve tried to get the IP address of client browsing the site using $_SERVER[‘REMOTE_ADDR’]
Share
is the best you will get really.
There are various other headers that can be sent by the client (
HTTP_FORWARDED_FORet al.) – see this question for a complete overview – but these can be freely manipulated by the client and are not to be deemed reliable.