I want to track the IP address of the users who are opening my website. I have done lot of googling and even other questions asked on stackoverflow but couldn't find the solution. I actually want to know how to I get the IP address by using
$_SERVER['REMOTE_ADDR'] or $_SERVER['REMOTE_HOST'] variables.
$_SERVER['REMOTE_ADDR']