note 50848 added to function.header
| From: | benjamin at sonntag dot fr | Date: | Fri, 11 Mar 2005 14:03:41 +0000 |
| Subject: | note 50848 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86243@lists.php.net to get a copy of this message | ||
About michael and it's header "Refresh", be careful, The HTTP standard requires the
following syntax :
<?php
// Redirects the browser quickly (don't forget the URL=)
header("Refresh: 0; URL=http://www.php.net");
?>
this is in fact the only way to prevent the multi-post issue with all browsers (ie, firefox ...)
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50848
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50848&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50848&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50848&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50848&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50848&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50848&report=yes
Search -- http://master.php.net/manage/user-notes.php