Mailinglisten-Archive |
Hallöchen! Wenn ich GIF-Dateien nach dem PHP Handbuch (Kapitel 15) erzeugen will, bekomme ich vom Server immer folgende Fehlermeldungen: /usr/local/apache/1.3.12/logs/error_log: ... [Thu Aug 10 12:14:22 2000] [error] PHP Warning: ImageCreateFromGif: No GIF support in this PHP build in /var/www/htdocs/bild.php on line 3 [Thu Aug 10 12:14:22 2000] [error] PHP Warning: Supplied argument is not a valid Image resource in /var/www/htdocs/bild.php on line 4 [Thu Aug 10 12:14:22 2000] [error] PHP Warning: Supplied argument is not a valid Image resource in /var/www/htdocs/bild.php on line 5 [Thu Aug 10 12:14:22 2000] [error] PHP Warning: Supplied argument is not a valid Image resource in /var/www/htdocs/bild.php on line 6 [Thu Aug 10 12:14:22 2000] [error] PHP Warning: ImageGif: No GIF support in this PHP build in /var/www/htdocs/bild.php on line 7 [Thu Aug 10 12:14:22 2000] [error] PHP Warning: Supplied argument is not a valid Image resource in /var/www/htdocs/bild.php on line 8 ... http://localhost/index.html: ... <img src="bild.php?text"> ... http://localhost/bild.php: <?php Header("Content-type: image/gif"); $string=implode($argv," "); $im = imagecreatefromgif("bild.gif"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImageGif($im); ImageDestroy($im); ?> Die Datei 'bild.gif' existiert übrigens. Weiß irgendjemand Rat??? Gruss, Daniel...
php::bar PHP Wiki - Listenarchive