Re: Client user info
| From: | Tyler Longren | Date: | Fri, 24 May 2002 16:03:09 +0000 |
| Subject: | Re: Client user info | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99094@lists.php.net to get a copy of this message | ||
What kind of information? There's a whole bunch:
Browser
IP
Referer
Check phpinfo();
try
print "$_SERVER[HTTP_USER_AGENT]";
to get the users browser
print "$_SERVER[REMOTE_ADDR]";
to get the users IP
print "$_SERVER[HTTP_REFERER]";
to get the users referer.
Tyler Longren
Captain Jack Communications
www.captainjack.com
tyler@captainjack.com
----- Original Message -----
From: "Gary" <gcooke@radionics.com>
To: <php-general@lists.php.net>
Sent: Friday, May 24, 2002 10:58 AM
Subject: [PHP] Client user info
> Is there a way to get the user information? I know there must be a
constant
> variable, but I can't seem to find it.
>
> Thanks
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php