From The Blog

PHP: Check if cURL is loaded or not

4 September 2012, in PHP
To check client URL (cURL) is enabled or not you can simply:

if  (in_array  ('curl', get_loaded_extensions())) {
return true;
}
else{
return false;
}


Post a Comment