I wrote a chat program and I wrote in a page:

$ip=getenv("REMOTE_ADDR");
if ($ip=="82.23.45.66)
{
   echo 'You cannot login!';
}

But some times I see there are 3 computers and much logging by the same IP Address, How can I slove it?

Sessions ?

- Mitko Kostov

I did not understand, explain please!
Is there another number to distinguish between computers?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.