phpbar.de logo

Mailinglisten-Archive

[php] ImageGIF Funktion

[php] ImageGIF Funktion

mesto php_(at)_phpcenter.de
Tue, 15 May 2001 21:06:29 +0200


>   if (function_exists("imagegif")) {
>     Header("Content-type: image/gif");
>     ImageGif($im);
>   }
>   elseif (function_exists("imagejpeg")) {
>     Header("Content-type: image/jpeg");
>     ImageJpeg($im, "", 0.5);
>   }
>   elseif (function_exists("imagepng")) {
>     Header("Content-type: image/png");
>     ImagePng($im);
>   }

http://www.php.net/manual/en/function.function-exists.php

schau mal da ganz unten, da steht was dazu ...

bye
Ruedi



php::bar PHP Wiki   -   Listenarchive