Re: Hex output printed on 404 error
| From: | Derick Rethans | Date: | Tue, 29 Jan 2008 07:11:08 +0000 |
| Subject: | Re: Hex output printed on 404 error | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-61851@lists.php.net to get a copy of this message | ||
On Mon, 28 Jan 2008, Michael Papile wrote:
> Description:
> ------------
> There appears to be some sort of overflow occurring when the header is
> set to 'HTTP/1.1 404 Not Found' on apache. We are using apache 2.24. When the
> print output of the PHP script exceeds 8000 characters, and the
> header is set to 'HTTP/1.1 404 Not Found' the character count is printed
> in hex at the top of the screen. If the header is set to 'HTTP/1.0 404
> Not Found' this does not occur.
The 1f41 is you see is to HTTP 1.1's chunked encoding. 1f41 is exactly
8001. I don't know how you're viewing the content, but this is something
that Apache and not PHP does.
Derick