jeeva Posted March 1, 2007 Share Posted March 1, 2007 hi frnds, i trying to create image using php, i have used 'imagecreate()' to create image but it keeps telling the following error i dont know y? the error is Fatal error: Call to undefined function: imagecreate() in C:\Inetpub\wwwroot\test\misc_7.exec.php anyone can tell me wts up? And wt i have to do? Quote Link to comment Share on other sites More sharing options...
nloding Posted March 1, 2007 Share Posted March 1, 2007 You need PHP 4.0.6 or above, and you need the correct version of the GD/GD2 module installed. http://us3.php.net/gd Quote Link to comment Share on other sites More sharing options...
jeeva Posted March 2, 2007 Author Share Posted March 2, 2007 i am having php 5. Quote Link to comment Share on other sites More sharing options...
chronister Posted March 2, 2007 Share Posted March 2, 2007 The GD library needs to be installed separately I believe. Have you used the imagecreate function and successfully created images on this machine? Quote Link to comment Share on other sites More sharing options...
jeeva Posted March 2, 2007 Author Share Posted March 2, 2007 ya its working now just i need to enable the php_gd2.dll in php ini file. thanks for all Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.