cool, thanks.Hi seriesce,
You are unable to use REMOTE_ADDR to get the user's IP address because all your website's traffic is routed through a cache server first, to help speed up your site.
Instead, please use $_SERVER['HTTP_X_FORWARDED_FOR'] to get the user's IP address.
Thank you,
as for --> "You are unable to use REMOTE_ADDR..."You are unable to use REMOTE_ADDR to get the user's IP address because all your website's traffic is routed through a cache server first, to help speed up your site.
Instead, please use $_SERVER['HTTP_X_FORWARDED_FOR'] to get the user's IP address.