Re: Is "gd" present?

From: Date: Wed, 04 Jun 2003 15:09:15 +0000
Subject: Re: Is "gd" present?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-150188@lists.php.net to get a copy of this message
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" <holmes072000@charter.net> escribió en el mensaje news:00bd01c32aa3$2840b130$a629089b@TBHHCCDR... > > Is there a way to check within an application if the "gd" library has > > been installed? > > Maybe get_loaded_extensions() ???? > > ---John Holmes...

« previous php.general (#150188) next »