[PHP] imagecreate undefined...?

2004-02-13 Thread Eric
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,

Re: [PHP] imagecreate undefined...?

2004-02-13 Thread Richard Davey
Hello Eric, Friday, February 13, 2004, 4:00:02 PM, you wrote: E Fatal error: Call to undefined function: imagecreate() in [file name] on line 3 E I am running under MacOSX 10.3.2 and PHP 4.3.2. Sounds very much like you have PHP without the image library compiled into it. I don't know where to

Re: [PHP] imagecreate undefined...?

2004-02-13 Thread Brian V Bonini
On Fri, 2004-02-13 at 11:00, Eric wrote: However, when I run it, I get an error: Fatal error: Call to undefined function: imagecreate() in [file name] on line 3 Sound like your version was complied without GD support. http://www.php.net/manual/en/ref.image.php -- BrianGnuPG - KeyID:

RE: [PHP] imagecreate undefined...?

2004-02-13 Thread Vail, Warren
and you can eliminate a lot of stuff for Win/Linux installations if you are not targeting both versions. Warren Vail -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 8:07 AM To: Eric Cc: [EMAIL PROTECTED] Subject: Re: [PHP] imagecreate undefined