note 22796 added to ref.http
| From: | paul at siroccoh dot com | Date: | Sun, 30 Jun 2002 15:04:40 +0000 |
| Subject: | note 22796 added to ref.http | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32437@lists.php.net to get a copy of this message | ||
Redirecting:
If you want the URL you are redirecting to with header("Location: $url") to appear in the
location bar in your browser, you have to add a <CRLF> at the end of the string; ie
header("Location: blah.com\r\n") It'll still redirect without the \r\n but for some
reason the URL remains unchanged in the location bar.
--
http://www.php.net/manual/en/ref.http.php
http://master.php.net/manage/user-notes.php?action=edit+22796
http://master.php.net/manage/user-notes.php?action=delete+22796
http://master.php.net/manage/user-notes.php?action=reject+22796