Bug #10865: function other than header() to switch to a new page?
| From: | logos at kith dot org | Date: | Tue, 15 May 2001 00:33:55 +0000 |
| Subject: | Bug #10865: function other than header() to switch to a new page? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55269@lists.php.net to get a copy of this message | ||
From: logos@kith.org
Operating system: MacOS X
PHP version: 4.0.5
PHP Bug Type: Feature/Change Request
Bug description: function other than header() to switch to a new page?
I can understand why header() has to appear before any text or HTML, but it's not always
feasible (especially when using include/require). So I'd like to have a means other than
header() to switch to a new page using PHP. header() seems like a particularly low-level way to do
this anyway; I'd like to have a high-level function that does the same thing without explicitly
messing with headers. If there already is such a function, then this becomes a documentation
enhancement request: could you add a note to the header() documentation pointing people to the other
function?
I should mention, btw, that I'm new to PHP, but liking it quite a bit so far. Thanks for
providing such a great language, and such extensive documentation for it!
--jed
--
Edit Bug report at: http://bugs.php.net/?id=10865&edit=1