RE: [PHP] error using imagecreate function
| From: | John Steele | Date: | Tue, 24 Jul 2001 19:20:10 +0000 |
| Subject: | RE: [PHP] error using imagecreate function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59478@lists.php.net to get a copy of this message | ||
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 - jsteele@writeme.com
* http://www.steelesoftconsulting.com
*/