Read this:

        $ip = getenv ("REMOTE_ADDR"); 

Karl Phillipson
PHP SQL Programmer

Saffron Hill Ventures
67 Clerkenwell Road

Saffron Hill: 0207 693 8300
Direct Line: 0207 693 8318

-----Original Message-----
From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2001 11:25
To: php general list
Subject: [PHP] user's ip


I am trying to get the ip address of any user browsing a particular page.

I tried $REMOTE_ADDR but that give me only the remote address.  What would
be the best way?


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to