Function disabled.
| From: | Vincent M. | Date: | Fri, 21 Nov 2003 23:58:12 +0000 |
| Subject: | Function disabled. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170636@lists.php.net to get a copy of this message | ||
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.