getimagesize is okay, because it's not really really a GD function, even though it's lumped in there... Did you restart Apache? (or the whole machine if you run IIS)? On Mon, June 4, 2007 5:38 am, C.R.Vegelin wrote: > Hi All, > > I am testing some GD functions, but I'm getting "undefined function" > errors. > I checked php.ini and changed > ;extension=php_gd2.dll > to > extension=php_gd2.dll > > The php.ini file contains: extension_dir = "c:/php/ext" > and this directory does contain php_gd2.dll (version 5.2.0.0) > I am using Windows XP, PHP 5.2.0 and IIS 5.1. > > The function getimagesize($filename); is okay, > but imagecreatetruecolor($width, $height); says "undefined function". > > I would appreciate some hints. > > TIA, Cor > > > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php