Re: Reload page after form submit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Marques wrote:
Stut wrote:
Wagner Garcia Campagner wrote:

<META HTTP-EQUIV='refresh' content='0;URL=index.php'>

header('Location: index.php');

Although technically speaking that should be an absolute URL.

AFAIK, they are both equivalent.

Essentially yes, but personally (and for no logical reason I can think of) I always prefer headers over HTML content, especially when any other HTML content in the page will not be seen.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux