Date: 11/10/00
- Next message: Mike Heath: "RE: [PHP-DEV] Re: [PHP-QA] $obj = new foo() patch"
- Previous message: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] PHP 4.0 Bug #7750: mysql_free_result calling a valid result index and invalid result index"
- In reply to: paul.d.rowlands <email protected>: "[PHP-DEV] PHP 4.0 Bug #7743: gd lib problems displaying dynamic images"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Try it with Netscape instead of IE. IE is and always has been a very
broken web browser.
On 10 Nov 2000 paul.d.rowlands <email protected> wrote:
> From: paul.d.rowlands <email protected>
> Operating system: Windows NT 4
> PHP version: 4.0.3pl1
> PHP Bug Type: *Function Specific
> Bug description: gd lib problems displaying dynamic images
>
> The following code does not work with php4.0.3p1 under windows NT.
> It shows complete garbage text on the display.
> However if you save the image to a png file and use <img src=$filename> tag it will work.
>
> <?php
> Header("Content-Type: image/png");
> $im = ImageCreate(100,100);
> $black = ImageColorAllocate($im,0,0,0);
> $white = ImageColorAllocate($im,255,255,255);
>
> ImageLine($im,0,0,99,99,$white);
>
>
> if(ImageTypes() & IMG_PNG) {echo "PNG SUPPORTED";}
> if(ImageTypes() & IMG_GIF) {echo "GIF SUPPORTED";}
> ImagePng($im);
> ImageDestroy($im);
> ?>
>
>
> --
> Edit Bug report at: http://bugs.php.net/?id=7743&edit=1
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mike Heath: "RE: [PHP-DEV] Re: [PHP-QA] $obj = new foo() patch"
- Previous message: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] PHP 4.0 Bug #7750: mysql_free_result calling a valid result index and invalid result index"
- In reply to: paul.d.rowlands <email protected>: "[PHP-DEV] PHP 4.0 Bug #7743: gd lib problems displaying dynamic images"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

