How to get the IP address of the visitors ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
claws
Forum Commoner
Posts: 73
Joined: Tue Jun 19, 2007 10:54 am

How to get the IP address of the visitors ?

Post by claws »

Hi everyone,

How to get the IP address of the visitors who are behind proxy servers or in private LAN? When I visit some websites, it shows that your IP address is this and you are connected through this proxy server. I want to do similar thing.
XaeroDegreaz
Forum Newbie
Posts: 10
Joined: Mon Nov 10, 2008 9:09 pm

Re: How to get the IP address of the visitors ?

Post by XaeroDegreaz »

You cannot get the internal IP address of a visitor if he is connected through a router. You will only ever get the IP address of the router itself.
Post Reply