Haening
Haening
CDCloudflare Developers
Created by Haening on 8/21/2024 in #general-help
Retrieve the actual IPv4 IP
Hello. I have an issue retrieving the actual IP from the user that accesses the website. I tried to rule the function of showing IPv6, yet the IPs shown were incorrect. I am properly using $_SERVER['HTTP_CF_CONNECTING_IP']; to try it, but it doesn't help much. I am getting an IPv4 that is not the real user's one. How can I ensure that the IP shown is correct? (I am using IIS)
4 replies