p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

beginning_php thread: ImageCreate()

Message #1 by "James Hirst" <hirstjames@h...> on Fri, 12 Apr 2002 15:45:35
The Browser has given an error which says that ImageCreate() is an 
undefined function. What am I supposed to do now? Is it that I have not 
got the gd library or is it some simple mistake?
Message #2 by "Nikolai Devereaux" <yomama@u...> on Fri, 12 Apr 2002 09:59:27 -0700
My guess is that the extension isn't installed.  Call a phpinfo script and
see if GD is listed as an installed extension.

My phpinfo (Win2k, php 4.0.6) shows this:

GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

take care,


  Return to Index