i want to get client IP address who uses my website. i am using php $_server super global
$_server['REMOTE_ADDER'];
but i see it cannot give the correct IP address
i want to get client IP address who uses my website. i am using php $_server super global
$_server['REMOTE_ADDER'];
but i see it cannot give the correct IP address
It should be contained in the $_SERVER['REMOTE_ADDR']
variable.
It is a typo mistake use below . The Pre Defined Variables in PHP are Case sensitive should be used in UPPER CASE.
$_SERVER['REMOTE_ADDR'];