PLEASE could somebody update the bug #6539?
| From: | Thomas | Date: | Tue, 14 Nov 2000 11:02:05 +0000 |
| Subject: | PLEASE could somebody update the bug #6539? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38046@lists.php.net to get a copy of this message | ||
Hello!
Sorry for that cross-posting, but I'm a little stressed since these days
might be the last ones with PHP in my company.
Please, could somebody of you developers, or you, Howard update the bug
#6539?
- the bug is also valid for PHP 4.03pl1 (see my posting & test script in
php.dev from yesterday and the enclosed posting, where is also stated,
that under IIS in cgi-mode Dr. Watson comes up),
- Also affected http-Server: IIS (my experience, since at least PHP4.02
),
- Not affected: php4.02 with cgi under Win98 (posting from alain samoun
in
[PHP-WIN], 9/4/00),
- Warning doesn't come up if no filename is specified for imagejpeg
(or imagexxx?, see enclosed posting from David, 11/3/00)
Additional info (if relevant):
The Warnings don't always point to the right line in source - Once it
pointed to a line with a sql-statement, but after "shortening" the
script
step by step, this problem was what occured the warning. (see also my
posting in PHP-WIN from 11/9/00).
Many thanks in advance,
Thomas
David Coulter wrote:
> Greetings,
>
> I'm using the php4win flavor of PHP 4.0.3 on a NT 4 machine through
> IIS. I'm trying to use the Image functions to brand an image... here
is
> the code:
>
> $string = "My Image";
> $img = "d:\\web sites\\topes.ehnet.org\\halfdome.jpg";
> $size = GetImageSize ($img);
> $im = ImageCreateFromJPEG ($img);
> $white = imagecolorclosest ($im, 255, 255, 255);
> $black = imagecolorclosest ($im, 0, 0, 0);
> ImageTTFText ($im, 12, 90, $size[0] - 6, $size[1] - 6, $black,
> "c:\\winnt\\fonts\\tahoma.ttf",
> $string);
> ImageTTFText ($im, 12, 90, $size[0] - 5, $size[1] - 5, $white,
> "c:\\winnt\\fonts\\tahoma.ttf",
> $string);
> ImageJPEG ($im, "d:\\web sites\\topes.ehnet.org\\halfdome_new.jpg");
>
> Now, the new image is saved without any trouble, but no matter what I
> put around this code, I get the following error at the very end of the
> page.
>
> Warning: Unknown list entry type in request shutdown (1333576) in
> Unknown on line 0
>
> It doesn't happen if I don't specify a filename for ImageJPEG. Any
> ideas? Thanks.
>
> David Coulter
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
php-list-admin@lists.php.net