Read this:
http://www.php.net/manual/en/function.getenv.php
$ip = getenv ("REMOTE_ADDR");
==========================
Karl Phillipson
PHP SQL Programmer
Saffron Hill Ventures
67 Clerkenwell Road
London
EC1R 5BL
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
Hi,
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?
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]