Re: [PHP] Client user info

2002-05-24 Thread Miguel Cruz
On Fri, 24 May 2002, Gary wrote: > 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. What kind of information? Age? Favorite fish? You can get the information that their browser sends in the request header (browser version, plat

Re: [PHP] Client user info

2002-05-24 Thread Tyler Longren
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 Communica