Marek Kilimajer wrote:
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php