Re: Image Headers break when image is out of bounds
| From: | Ben Dunlap | Date: | Tue, 11 Aug 2009 18:52:58 +0000 |
| Subject: | Re: Image Headers break when image is out of bounds | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296653@lists.php.net to get a copy of this message | ||
> @Adam
> The headers_sent() wasa test to ensure that no other data was creeping
> into the headers before I wanted it to. Keeping it in does no harm, as
> it is basically saying, if there are no headers that have been sent,
> send the correct ones for the image.
But if there are headers that have been sent, it sounds like they would not
have been the correct ones. Which I think would cause exactly the problem
you're describing.
Ben