Home > PHP > check whether an extension is loaded – PHP

check whether an extension is loaded – PHP

$extensionName=”curl”;//extension name to be checked
if(!extension_loaded($extensionName)) {
echo “The extension is not loaded”;
}
EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Beginner's Guide....
Categories: PHP Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.

Switch to our mobile site