Re: Creating Images
| From: | Don Read | Date: | Sun, 15 Jun 2003 16:20:33 +0000 |
| Subject: | Re: Creating Images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151589@lists.php.net to get a copy of this message | ||
On 09-Jun-2003 Chris Blake wrote:
<snip>
>
> Any ideas on how to make it so that the error I specified comes up and
> not the "The image "http://xxxxxxx.xxx.xxx.xxx.x blah
> blah" part.....
>
> Here`s the code :
> -------
> <?php
> Header('Content-type: image/png');
>
A little too early for that. Wait 'til the image is properly created ...
<snip>
>
//here:
Header('Content-type: image/png');
> ImagePng($image);
> }
> ImageDestroy($image);
> ?>
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.