note 62841 added to function.header
| From: | nino at clan-csc dot com | Date: | Fri, 10 Mar 2006 17:32:28 +0000 |
| Subject: | note 62841 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105227@lists.php.net to get a copy of this message | ||
There is actually a way to allow header() function after something.
Open your php.ini file and change the line
output_buffering = Off
to
output_buffering = On
this allows you to send headers no matter what.
But then you'll get an perfomance lowering.
So if perfomance matters alot to you, do this:
output_buffering = 4096
It is a REALLY small perfomance lowering, and you can send some header() 's.
-Nino
----
Server IP: 161.53.30.180
Probable Submitter: 195.29.73.216
----
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/62841
Del: integrated -- http://master.php.net/note/delete/62841/integrated
Del: useless -- http://master.php.net/note/delete/62841/useless
Del: bad code -- http://master.php.net/note/delete/62841/bad+code
Del: spam -- http://master.php.net/note/delete/62841/spam
Del: non-english -- http://master.php.net/note/delete/62841/non-english
Del: in docs -- http://master.php.net/note/delete/62841/in+docs
Del: other reasons-- http://master.php.net/note/delete/62841
Reject -- http://master.php.net/note/reject/62841
Search -- http://master.php.net/manage/user-notes.php