Hello,

How to test if a function has been disabled. I tried doing this:
if(function_exists("rmdir")) {
  echo "rmdir Function exists" ;
} else {
  echo "rmdir Function DOES NOT exists" ;
}

So the test says that the function exists, but if we use  it, I get:
rmdir() has been disabled for security reasons

How to test if the function has been disabled ?

Thanks.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to