"Louie Miranda" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> And here's the error
>
>
> [Fri Oct 17 10:52:20 2003] [error] PHP Fatal error:  Call to undefined
> function:  imagegif() in /Volumes/WWW_Root/louie/test.php on line 6
>
>
>
> -- -
> Louie Miranda
> http://www.axishift.com
>
>
> ----- Original Message -----
> From: "Louie Miranda" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 17, 2003 10:46 AM
> Subject: [PHP] using ImageGIF
>
>
> > Im trying to show gif images on a browser, since on my work. Not all are
> > using Internet explorer on windows. One of my test shows on a Mac OS X
> 10.1
> > IE 5.5 the jpeg and png files are not supported and only gif images.
> >
> > I tried this syntax to generate gif files..
> >
> >  --php code--
> >   $im = ImageCreate(200, 200);
> >   $white = ImageColorAllocate($im, 0xFF, 0xFF, 0xFF);
> >   $black = ImageColorAllocate($im, 0x00, 0x00, 0x00);
> >   ImageFilledRectangle($im, 50, 50, 150, 150, $black);
> >   header("Content-Type: image/gif");
> >   ImageGIF($im);
> > --php code--
> >
> > but the browser returns an error on the image..
> >
> > ("The image http://url cannot be displayed, because it contains
errors.")
> >
> > And how would you know that gif is supported? PNG and JPEG is shown on
> > phpinfo();
> >
> >
> > -- -
> > Louie Miranda
> > http://www.axishift.com
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >

> [Fri Oct 17 10:52:20 2003] [error] PHP Fatal error:  Call to undefined
> function:  imagegif() in /Volumes/WWW_Root/louie/test.php on line 6

That message confirms that imagegif() is not compiled into PHP.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to