Re: previous page

From: Date: Wed, 09 Jun 2004 12:57:33 +0000
Subject: Re: previous page
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-187956@lists.php.net to get a copy of this message
Larry E . Ullman wrote:
Thanks all makes sense, but, if I add this: <?php echo($_SERVER['HTTP_REFERRER']); ?> I don't get anything back when the page is called?
Yes, that can happen, which is why I said it wasn't perfect. I think using some sort of form to go through is the better option. Larry
You can use session tracking to accomplish this goal. Simply have the required page set a variable in the session that the "protected" page checkes for.

« previous php.general (#187956) next »