[Fwd: Re: [PHP] redirect using php]
Andrei wrote: It works with document.location = '...'; too. I use only this method and it worked on all browsers... Assuming the end user has JS turned on. JS and Meta Refreshes are not acceptable when you need to be sure the redirect works. Depends on your user target... I generally suppose the users using my code enabled JS on their browsers. If they didn't too bad. I can't code everything judging there are ppl that do restrictions on their browsers. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Fwd: Re: [PHP] redirect using php]
Thanks everyone for your help. In the end the simplest one that works for this specific project was: echo meta http-equiv=\Refresh\ content=\0;url=$from_page\; Andrei wrote: Andrei wrote: It works with document.location = '...'; too. I use only this method and it worked on all browsers... Assuming the end user has JS turned on. JS and Meta Refreshes are not acceptable when you need to be sure the redirect works. Depends on your user target... I generally suppose the users using my code enabled JS on their browsers. If they didn't too bad. I can't code everything judging there are ppl that do restrictions on their browsers. Andy -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Business.Solution.Developers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php