Questions tagged «cloudflare»

8
CloudFlare并通过PHP记录访问者IP地址
我正在尝试跟踪和记录使用PHP$_SERVER['REMOTE_ADDR']来访问我的网站的用户/访问者。PHP中IP地址跟踪的一种典型方法。 但是,我正在使用CloudFlare进行缓存等,并以CloudFlare的方式接收其IP地址: 108.162.212。*-108.162.239。* 在仍然使用CloudFlare的同时检索实际用户/访问者IP地址的正确方法是什么?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.