Re: JavaScript

From: Date: Mon, 26 Feb 2001 04:48:47 +0000
Subject: Re: JavaScript
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-41647@lists.php.net to get a copy of this message
The problem with this (the javascript history) is it bites on frames. One thing you could do is print("<a href=\"" . $HTTP_REFERER . "\">Go back</a>"); or some such. At least then you could do referer sanity checking to make sure you didn't dump the user somewhere nonsensical (if they've bookmarked something in the middle of your site. Robert At 10:37 AM 26/02/2001 +0545, Deependra B. Tandukar wrote:
Greetings! Is there any equivalent code for (JavaScript) <a href=JavaScript:history-back(1)>Back Button</a> in php? This works as back button on the menu bar. Looking forward to hearing from you. regards, DT -- 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
Robert Gormley rgormley@myrealbox.com http://distortedreality.net

« previous php.general (#41647) next »