RE: [PHP] Header problem
| From: | Andrea Giammarchi | Date: | Mon, 05 Oct 2009 16:26:29 +0000 |
| Subject: | RE: [PHP] Header problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298613@lists.php.net to get a copy of this message | ||
> There's a useful function called headers_sent() which checks to see if
> the headers have already been sent to the browser. This might be a good
> place to throw into your code at various points to check and see if
> something is being written which you don't expect.
true, check that as well, moreover, you talked about utf-8, well, if the BOM is automatically added,
it can cause lots of problems ... still, only if you sent whatever to the output before the
download.
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010