Message -
From: "Rodrigo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 6:20 AM
Subject: [PHP] How know from wich page you came from
> Hi guys I need a way to know how to know from wich page the visitor
> came, something like:
>
>
on 11/12/02 12:32 AM, Jon Haworth ([EMAIL PROTECTED]) wrote:
> echo $_SERVER["HTTP_REFERER"];
not all browsers / useragents set this, so you can't *rely* on it.
Justin French
http://Indent.com.au
Web Development &
Graphic Design
--
PHP General Mailin
*SOME* browsers set a referrer script name/url, and some don't, so you can't
rely on it.
The solution can be as simple as including the referring script as a GET
variable in the URL:
click
Or, by keeping track of that sorta stuff with sessions...
Whenever I *have to* know the URL of the preced
Hi Rodrigo,
> Hi guys I need a way to know how to know from wich
> page the visitor came
echo $_SERVER["HTTP_REFERER"];
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys I need a way to know how to know from wich page the visitor
came, something like:
I wanna put in a php file a switch to do a certain action if the visitor
came from a certain page, and something else if he came from a diferent
one, this way I could write, update, insert, delete or anythin
5 matches
Mail list logo