IP addresses

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
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

IP addresses

Post by mzfp2 »

Is it possible that two computers on a network would have the same IP address? this seems to have been a case which affected the login on my site, and cause two people to be logged into each others accounts.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Is this an internet or intranet site?

Mac
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Post by mzfp2 »

my site is a internet site hosted on a remote server somehwre in urban london
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Then it is likely that their computers do not have the same IP address but that they go through a proxy to access the internet and it is the proxy's IP address that you are seeing.

Mac
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Or they could have the same IP address at different times if they have dynamically assigned rather than static IPs on their network.

Mac
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Post by mzfp2 »

Thanks, they were both logged on at the same time so that suggests its was a proxy server instead.

I'll have to code some cookie's into my login feature i guess, something i've been avoiding !
Post Reply