On Wed, 25 Jul 2001 22:06, venomous wrote:
> This is the code just a normal imagecreate function
> <?php
> file://draw1.php
> Header("Content-type: image/jpeg");
> $image = ImageCreate(200,150);
> $gray = ImageColorAllocate($image,204,204,204);
> $blue = ImageColorAllocate($image,0,0,255);
> ImageLine($image,10,10,150,30,$blue);
> ImageJPEG($image);
> ImageDestroy($image);
> ?>
>
> I think the fault is that i don't use the gd library but i don't know
> how i must install it on my NT 4.0 apache 1.3.2 server

Check your php.ini file (which is possibly in c:/winnt) for the entry 

extension=php_gd.dll

and if it has a semicolon (;) at the beginning of the line remove it. 
Check you have a file called ph_gd.dll which is possibly in directory 
extensions under your php installation and restart apache service.

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   I'm not paranoid! Which of my enemies told you this?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to