Re: QUICK QUESTION
| From: | Kevin Stone | Date: | Mon, 21 Apr 2003 21:53:54 +0000 |
| Subject: | Re: QUICK QUESTION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144729@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Dale" <DaleHersh@hotmail.com>
To: <php-general@lists.php.net>
Sent: Monday, April 21, 2003 3:23 PM
Subject: [PHP] QUICK QUESTION
> What function do I use to find out what domain name the user typed in the
> url bar. The reason I ask is because I have multiple urls pointing to the
> same site and I would like to track which url is most widely used.
>
> Thanks,
> Dale
>
> PS I am able to get the user info such the ip address, os, etc., but I
can't
> see how to get the url the user entered.
The addressed domain is stored in $_SERVER['HTTP_HOST'];
HTH,
Kevin