PHP find real IP address

Most of the time users uses proxy to hide their real Identity over internet, these methods and tools including configuring manual proxy or using applications like Cyber Ghost VPN, IP Hider PRO, Easy Hide IP, Hide All IP or there are hundreds more tools to hide your real identity while surfing internet.

These tools uses different techniques to hide your identity, some of them are more stronger while some can be traced easily.

I tried different methods to get real IP bypassing any such tool, and finally with the following piece of code I am getting the closest possible solution.

here is PHP code which determines real IP address even behind the proxy.

place this function somewhere in global file and call it on any page to get the real IP address of visitor.

Let me know if you have better solution for this, I will appropriate your effort and help.


    Write a Reply or Comment

    Your email address will not be published. Required fields are marked *