RE: [PHP-WIN] Warnings since change to PHP4.02
| From: | Howard Cohodas | Date: | Mon, 04 Sep 2000 22:36:19 +0000 |
| Subject: | RE: [PHP-WIN] Warnings since change to PHP4.02 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2411@lists.php.net to get a copy of this message | ||
I get the same warning using NT4 SP6a and WebSitePro 2.5.4 HTTP server.
Howard A. Cohodas
Design Knowledge Technologies Inc.
Phone: (011)(330)492-9900
FAX: (011)(330)492-1100
otfGIF Encoder: http://www.dkt.com/otfGIF
-----Original Message-----
From: alain samoun [mailto:alain@samoun.com]
Sent: Monday, September 04, 2000 4:04 PM
To: 'Thomas'; php-windows@lists.php.net; 'Alain Samoun'
Subject: RE: [PHP-WIN] Warnings since change to PHP4.02
Hi Thomas:
Your script works fine (no error reporting) with my set up: php4.02-as
cgi,win98. I don't have NT installed so it may be related to NT or to apache
module. Just to make sure: Did you replace all your extensions when
installing the new php4.02?
Alain
Tested script:
<?php
$imgsize = getimagesize ("test.png");
print "size = $imgsize";
$im = ImageCreateFromPNG ("test.png");
$im_w = $imgsize[0]/2;
$im_h = $imgsize[1]/2;
$im1 = ImageCreate ($im_w, $im_h);
imagecopyresized ( $im1, $im, 0, 0, 0, 0, $im_w, $im_h,
$imgsize[0],$imgsize[1]);
imagepng ( $im1, "test1.png" );
echo "done";
?>
Alain
Message from Alain Samoun
alain@samoun.com
-----Original Message-----
From: Thomas [mailto:Yin.Yang@chello.at]
Sent: Monday, September 04, 2000 12:17 PM
To: php-windows@lists.php.net; Alain Samoun
Subject: Re: [PHP-WIN] Warnings since change to PHP4.02
Hello Alain,
thanks for your answer in the PHP-Win-MailingList!
I've once reported a bug which wasn't one, and so I wanted to ask first, if
I
should do something in the ini-file or so before I report again only
nonsens.
If I shorten my script to the following,
<html><head><title>test</title></head><body>
<?
$imgsize = getimagesize ("F:\\test\\test.png");
$im = @ImageCreateFromPNG ("F:\\test\\test.png");
$im_w = $imgsize[0]/2;
$im_h = $imgsize[1]/2;
$im1 = @ImageCreate ($im_w, $im_h);
imagecopyresized ( $im1, $im, 0, 0, 0, 0, $im_w, $im_h, $imgsize[0],
$imgsize[1]);
imagepng ( $im1, "F:\\test\\test1.png" );
?>
</body></html>
I get the resized copy of the image, but I get two warnings:
Warning: Unknown list entry type in request shutdown (851264) in Unknown on
line
0
I assume one for each ImageCreate*(), because
<html><head><title>test</title></head><body>
<?
$im = @ImageCreateFromPNG ("F:\\test\\test.png");
?>
</body></html>
results in one such warning.
Is this my fault, a misconfiguration, or really a bug?
Best regards,
Thomas
Alain Samoun wrote:
> Use the @ character in front of the function, like:
> @faultyfunction()
> But if you can confirm this anomaly with a simple script, report it as a
bug
> (see www.php.net)
> Alain
>
> On Mon, Sep 04, 2000 at 02:48:59PM +0200, Yin.Yang@gmx.net wrote:
> > Hello!
> >
> > Every time when a strftime(), or one of the ImageCreate*() is called, I
> > get the following warning (but the functions work):
> >
> > Warning: Unknown list entry type in request shutdown (811096) in Unknown
> > on line 0
> >
> > This occurs, since I've changed to PHP4.02 and affects also scripts,
which
> > were running without problems before.
> >
> > How can I get rid of this?
> >
> > Thanks,
> > Thomas
> >
> > --
> >
> >
> > Sent through GMX FreeMail - http://www.gmx.net
> >
> >
> > --
> > 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
>
> --
> 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
--
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
--
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