You could grab the referring page and send the user back to it, but some proxies/software stop your browser from sending that information, so it might not work in all situations
<a href="<?php echo $_SERVER['HTTP_REFERER']; ?">Back</a> however, quoting the docs on using the referrer: This is set by the user agent (client browser). Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted. -----Original Message----- From: Remon Redika [mailto:[EMAIL PROTECTED]] Sent: Monday, 13 January 2003 8:33 PM To: [EMAIL PROTECTED] Subject: [PHP] stupid question (Back Function) hi everyone, It's Possible We used Php Scripting to Back the client Browser Like This Below : (ussualy I make it with java script) : "javascript:history.back(1)" but right now, i need using the 'header's function', functionaly to back the page to previouse page. sorry before :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php