checking if extension loaded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.....:-)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux