Also works... :)

<?php
$array = get_loaded_extensions();
for ($i=0;$i<=count($array);$i++) {
    if ("gd" == $array[$i])  $installed = true;
    else $installed = false;
}
if ($installed = true) echo "yeah... GD installed";
else echo "shit.. GD not installed.";
?>

Regards.
EF.


"Cpt John W. Holmes" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> > Is there a way to check within an application if the "gd" library has
> > been installed?
>
> Maybe get_loaded_extensions() ????
>
> ---John Holmes...



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

Reply via email to