imagecreate undefined...?

From: Date: Fri, 13 Feb 2004 16:00:02 +0000
Subject: imagecreate undefined...?
Groups: php.general 
Request: Send a blank email to php-general+get-177606@lists.php.net to get a copy of this message
I've got this fairly simply script: <?php // create a 100*30 image $im = imagecreate( 100, 100 ); // white background and blue text $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); // write the string at the top left imagestring($im, 5, 0, 0, "Hello world!", $textcolor); // output the image header("Content-type: image/jpg"); imagejpeg($im); ?> However, when I run it, I get an error: Fatal error: Call to undefined function: imagecreate() in [file name] on line 3 I am running under MacOSX 10.3.2 and PHP 4.3.2. Is there anything I should look for in the phpinfo()? Any suggestions on how to fix the problem? Thank you. -- == Eric Gorr ========= http://www.ericgorr.net ========= ICQ:9293199 === "Therefore the considerations of the intelligent always include both benefit and harm." - Sun Tzu == Insults, like violence, are the last refuge of the incompetent... ===

« previous php.general (#177606) next »