On Wed, 15 Aug 2001 17:13, ashok sundaram wrote:
> hi,
> i am facing problem while using the following code
> even the socket dosent work
> i am using php 4...
> web server xitami
> os min ME
> note :- what is GD .
> how to check it exist or not
> in the below code i am get fatel error(function imagecreate() not
> found) //************************************//
> <?php
> header("Content-type: image/gif");
> $im = ImageCreate(100,20);
>
> $red=ImageColorAllocate($im,255,0,0);
> $white=ImageColorAllocate($im,255,255,255);
>
> ImageString($im,3,3,3,"Ashok",$white);
> ImageGif($red);
>
> ImageDestroy($im);
> ?>
> //************************************//

Check the settings in your php.ini file in the section Windows Extensions 
and make sure the line 

extension=php_gd.dll

exists - remove the ; at the beginning of the line if it is there. Check 
you have the dll and restart your server. To tell what features your 
installation has, use phpinfo()


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

   Useless Invention: Strap-on portable chairs.

-- 
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