SyntaxFix
Write A Post
Hire A Developer
Questions
Try this
$_SERVER['HTTP_CF_CONNECTING_IP'];
instead of
$_SERVER["REMOTE_ADDR"];