I don't think posting code is required here, the error message tells exactly what is
going on. He either needs to have GD support compiled with his version of PHP, or if
on windows adding a dl() call to the GD library functions before the call to any GD
functions:
dl('php_gd.dll')
Even better, a quick look at the User Contributed Notes at
http://www.php.net/imagecreate
John
>It would help if you can post the code you're using, rather than just
>the error message.
>
>> Can some one help me
>>
>> When i try tu use imagecreate i get an fatal error message
>> (shown below)
>>
>> <br>
>> <b>Fatal error</b>: Call to undefined function:
>> imagecreate() in <b>c:\website\draw.php</b> on line <b>4</b><br>
>>
>> does any body know why this error accurs.
>>
>> Thanx
>>
>> Venomous
--
/* SteeleSoft Consulting John Steele - Systems Analyst/Programmer
* We also walk dogs... PHP/MySQL/Linux/Hosting - [EMAIL PROTECTED]
* http://www.steelesoftconsulting.com
*/
--
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]