Re: $HTTP_REFERER?
| From: | Cynic | Date: | Wed, 06 Dec 2000 20:31:50 +0000 |
| Subject: | Re: $HTTP_REFERER? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28976@lists.php.net to get a copy of this message | ||
sorry, I should have written $HTTP_SERVER_VARS["HTTP_REFERER"] ,
not $HTTP_SERVER_VARS["PHP_SELF"]
At 21:30 6.12. 2000, Wee Chua , "PHP (E-mail)" <php-general@lists.php.net> wrote the
following:
--------------------------------------------------------------
>you mean you want to store the URL of the page through which
>a visitor reaches your site? you could use sessions. check for
>$HTTP_SERVER_VARS["HTTP_REFERER"] , if it's set and doesn't
>contain your $HTTP_SERVER_VARS["HTTP_HOST"], store
>$HTTP_SERVER_VARS["PHP_SELF"] in a session variable.
>
>At 21:19 6.12. 2000, Wee Chua wrote the following:
>--------------------------------------------------------------
>>Hi all,
>>How could I store the $HTTP_REFERER of the 1st page constantly in my
>>funtion, so i could always return the 1st page by using the $HTTP_REFERER
>>value no matter what page i am in. Thanks for any helps.
>>
>>Calvin Chua
>>Systems Analyst
>>InterClean Equipment, Inc.
>>734-975-2967
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>>For additional commands, e-mail: php-general-help@lists.php.net
>>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>------end of quote------
>
>
>____________________________________________________________
>Cynic:
>
>A member of a group of ancient Greek philosophers who taught
>that virtue constitutes happiness and that self control is
>the essential part of virtue.
>
>cynic@mail.cz
>ICQ: 2808 2505
>
>
>
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz
ICQ: 2808 2505