For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > March 2006 > Re: NEWBIE: Meta Refresh Problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: NEWBIE: Meta Refresh Problem
d

2006-03-28, 6:58 pm

"fiziwig" <fiziwig@yahoo.com> wrote in message
news:1143498362.906903.220090@g10g2000cwb.googlegroups.com...
> You don't have to use the header() function. It would work, but what
> you have is fine as long as you correct the errors in your form entries
> so that your variables are actually getting set.


Using meta-refresh is not the best way of doing things. header() or
javascript are the best options, as they have guaranteed support for this :)

> --gary
>



Arjen

2006-03-29, 7:57 am

> Using meta-refresh is not the best way of doing things. header() or
> javascript are the best options, as they have guaranteed support for this :)


Javascript is *not* the best option. In fact, it's one of the worst
options. Why rely on something that can de client side disabled ?

Just use the header("Location: mysite.cow") or mod_rewrite to redirect
browsers

Arjen
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com