Have a look at the function getenv()..........
eg:
$ip = getenv ("REMOTE_ADDR"); // get the ip number of the user
HTH
Neil
"Narvaez, Teresa" wrote:
> Hello,
> I'm running PHP version 4.1.1. When I invoke this function, <?php
> phpinfo()?>, all variables are set. However, when I try to retrieve a value
> of a certain variable like this:
>
> <?php echo $HTTP_USER_AGENT; ?>
>
> It returns NULL. Is there a missing configuration on apache or php?
>
> Thanks,
> -Teresa
>
> ***************************************************************
> This message was virus checked with: SAVI 3.53 Jan 2002
> last updated 30th January 2002
> ***************************************************************
--
--------------------------------
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
--------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php