Re: reload page without use header
| From: | Stuart Dallas | Date: | Sun, 17 Jun 2012 11:06:15 +0000 |
| Subject: | Re: reload page without use header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318264@lists.php.net to get a copy of this message | ||
On 17 Jun 2012, at 09:06, Farzan Dalaee wrote:
> is there any way to reload page without using header('location :index.php'); and
> javascript?
When you say "reload page" do you mean redirect to another page or refresh the current
page?
You can reload or redirect a page using a meta tag in your HTTP head block -- http://en.wikipedia.org/wiki/Meta_refresh --
but if you're wanting to redirect the user to another page you really should use an HTTP
header.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/