ok im makeing a web based software and i have come to the install page and i cant understand how to check that a extention is installed.
thanks in advanced
ok im makeing a web based software and i have come to the install page and i cant understand how to check that a extention is installed.
thanks in advanced
there is a problem i turned mysqli extention off and it still returns yes :S confused
function mysqliLoaded(){
if (extension_loaded('mysqli')) {
echo "<span class=\"yes\">Yes</span>";
}else{echo "<span class=\"no\">No</span>";}
}
Did you do a phpinfo() to see if the 'mysqli' table was still listed? Alternatively, you could try doing:
<?php
$test = new MySQLi;
?>
If you don't get a fatal error (or if 'mysqli' is still showing in a phpinfo() output), then you didn't turn it off.
thanks m8