HTTP_X_FORWARDED_FOR - this is very frequently mistake of many programmers.
Don't use it, becose this is http header and client can send anything in this header.
function userIP()
{
return (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.