Re: Reload page after form submit

From: Date: Thu, 30 Aug 2007 21:07:40 +0000
Subject: Re: Reload page after form submit
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-261550@lists.php.net to get a copy of this message
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/

« previous php.general (#261550) next »