Mega Code Archive
Bool function_exists ( string function_name ) returns true if that function is available for use
if (function_exists("imagepng")) {
echo "You have the GD extension loaded.";
} else {
echo "Can't find imagepng( ) - do you have GD loaded?";
}
?>