[RSS Feed/News] Cloudflare detect ip problem

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have a problem with ip addresses on the page. Cloudflare IP appears on the IP address, but not on everyone. I had to ban several users and a problem arose because they had an IP cloude assigned.

I used this code and pasted into config.php, but it doesn't work.

PHP:

if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom