note 49881 added to function.headers-sent
| From: | Terry at osu1 dot php dot net | Date: | Fri, 11 Feb 2005 03:58:57 +0000 |
| Subject: | note 49881 added to function.headers-sent | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84824@lists.php.net to get a copy of this message | ||
For programmers used to Perl, note that sending a relative 'Location:' header sends a
redirect to the browser in PHP, unlike Perl which will attempt to call relative URLs using an
internal subrequest and return that page to the browser without redirecting. If you want to do the
same trick in PHP, use include() or virtual().
----
Manual Page -- http://www.php.net/manual/en/function.headers-sent.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49881
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49881&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49881&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49881&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49881&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49881&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49881&report=yes
Search -- http://master.php.net/manage/user-notes.php