Re: rmdir withour rmdir function.

From: Date: Tue, 18 Nov 2003 06:07:11 +0000
Subject: Re: rmdir withour rmdir function.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-170056@lists.php.net to get a copy of this message
I'm not lucky, there is no ftp access to the server. This can sound a little strange, but there is no... :( 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


« previous php.general (#170056) next »