Re: rmdir withour rmdir function.
| From: | Marek Kilimajer | Date: | Tue, 18 Nov 2003 03:18:06 +0000 |
| Subject: | Re: rmdir withour rmdir function. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170051@lists.php.net to get a copy of this message | ||
ftp_rmdir()
Vincent M. wrote:
Hello, I can't use the function rmdir: Warning: rmdir() has been disabled for security reasons But I do need to delete a directory with php. How can I do ? Is there any way to delete an empty directory without using the rmdir function ? I tried to use the unlink function on the directory, but It does not work, it only works for files... Thanks, Vincent. PS: list of disabled functions: get_current_user, php_uname, putenv, set_time_limit, getmyuid, getmypid, dl, mail, ini_alter, ini_restore, ini_set, exec, passthru, system, popen, leak, mysql_list_dbs, listen, chown, chmod, chgrp, diskfreespace, rmdir, realpath, tmpfile, link, imap_mail, email, mb_send_mail