note 63006 added to function.header
| From: | dmitry dot polushkin at gmail dot com | Date: | Mon, 13 Mar 2006 01:34:04 +0000 |
| Subject: | note 63006 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105482@lists.php.net to get a copy of this message | ||
If you are using a redirection on your page, you have better use to this function:
<?php
function redirect($url) {
header('Location: '.$url);
echo '<a href="'.$url.'">Click here to redirect to
'.$url.'</a>';
}
?>
We need an additional link after the header, because of some of the browsers may not support the
http redirectional method.
----
Server IP: 212.47.220.12
Probable Submitter: 193.40.133.134 (proxied: 193.40.10.178)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/note/edit/63006
Del: integrated -- http://master.php.net/note/delete/63006/integrated
Del: useless -- http://master.php.net/note/delete/63006/useless
Del: bad code -- http://master.php.net/note/delete/63006/bad+code
Del: spam -- http://master.php.net/note/delete/63006/spam
Del: non-english -- http://master.php.net/note/delete/63006/non-english
Del: in docs -- http://master.php.net/note/delete/63006/in+docs
Del: other reasons-- http://master.php.net/note/delete/63006
Reject -- http://master.php.net/note/reject/63006
Search -- http://master.php.net/manage/user-notes.php