Need users to see their own IP address on webpage


#1

I have a website that I need to have the user’s IP address appear on.

What do I need to do to make that happen on this page? (it worked before I configured Cloudflare.)
https://www.eliminators.ca/verify_addy.php

TIA for any answers.


#2

Your web server needs to restore visitor IP addresses from the headers (bunch of links on how to do it below). Since that’s a PHP script, you can modify it to look for typical Proxy headers: CF-Connecting-IP or X-Forwarded-For

https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs


#3

Thank you, I will check that out.