Hello all, Wouldn't it be nice having a function which tells you whether you are restricted to call a function or not?
I think of something like:
if (function_enabled("shell_exec")) {
$info = shell_exec("dig myname.com");
}
telling if it was defined as disabled function in php.ini
(disable_functions=...) or not.
--
Regards
Dennis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

