checking if extension loaded

From: Date: Wed, 18 Jul 2007 09:37:46 +0000
Subject: checking if extension loaded
Groups: php.general 
Request: Send a blank email to php-general+get-259093@lists.php.net to get a copy of this message
I have a function that creates a thumb file(thumbnail) and and an image file(preview pic) in php. It starts with: function ($picFile, $thumbFile, $imageFile) { if (extension_loaded('gd') { ......codes to create thumb and preview pic... else ......creating images failed } everytime i test it, the function fails to create the images... This function works in joomla.............. sorry....im just new to php programming.....:-)

« previous php.general (#259093) next »