[PHP] How do I replace browser history using Header()?
Hi, I am using Header(Location:http://www.mysite.com/mypage.php;); to do a browser redirect. This works fine. The problem though is that doing this adds a page to the browser's window.self.history() collection. Is there any way that I can do a PHP Header() statement that does the equivalent of JavaScript's window.self.location.replace(http://www.mysite.com/mypage.php;)? In other words I would like to use PHP's Header statement to replace the current page in the brower's history, not just add another location onto the collection. Any help much appreciated. Neil -- -- www.curvedvision.com -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] How do I replace browser history using Header()?
-Original Message- From: Neil Freeman [mailto:[EMAIL PROTECTED] Is there any way that I can do a PHP Header() statement that does the equivalent of JavaScript's window.self.location.replace(http://www.mysite.com/mypage.php;)? No. JavaScript (if turned on) is your only choice. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How do I replace browser history using Header()?
Hmmm. As I thought. Thanks anyway Mark. Neil Mark Charette wrote: *** This Message Was Virus Checked With : SAVI 3.70 June 2003 Last Updated/Checked 12th June 2003 *** -Original Message- From: Neil Freeman [mailto:[EMAIL PROTECTED] Is there any way that I can do a PHP Header() statement that does the equivalent of JavaScript's window.self.location.replace(http://www.mysite.com/mypage.php;)? No. JavaScript (if turned on) is your only choice. -- -- www.curvedvision.com -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php