Re: how to record the referal of the referal?
| From: | Marek Kilimajer | Date: | Thu, 05 Jun 2003 11:55:52 +0000 |
| Subject: | Re: how to record the referal of the referal? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150328@lists.php.net to get a copy of this message | ||
Create the link like:
script.php?var=value&referer=<?= urlencode($_SERVER['HTTP_REFERER']) ?>
lexter@swissinfo.org wrote:
Hello friends! i'm stuck with something i cannot resolve =( i'm programming an statistic sistem, and for tracking the visitors of a page, the systems works this way , a code in the user's page open a page on my server and a script generates a image using the gd library( showing an ok if everything is right, or a err if somethings goes wrong )... well, everything is right with the system, but how may i record the referrarls of the user's webpage?, i've tried using the HTTP_REFERER, but it comes with the value of the user's page ( with it's perfectly right, cos' i called my script from the users page..but it's not what i want ) how may i get the referal of the referal that comes with the HTTP_REFERER? thanks a lot for your time..