note 51298 deleted from function.header by sp
| From: | sp@php.net | Date: | Sun, 03 Jul 2005 13:42:24 +0000 |
| Subject: | note 51298 deleted from function.header by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91351@lists.php.net to get a copy of this message | ||
Note Submitter: Juan
----
I had a lot of problems with using header() to redirect to a page because somewhere in my code I was
sending content out too soon. To overcome this, I used ob_start() to buffer the output, allowing
headers to go out before content. A nice little work-around, but not perfect.