Re: rmdir withour rmdir function.

From: Date: Tue, 18 Nov 2003 06:55:17 +0000
Subject: Re: rmdir withour rmdir function.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170060@lists.php.net to get a copy of this message
On Mon, Nov 17, 2003 at 09:37:52PM -0500, Vincent M. wrote: : : 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... Sounds like your PHP host did a thorough job of securing themselves. If you can't do it, then you can't do it. Then it's a matter of talking to your PHP host's admin and convincing him that the feature you need is worth the effort.

« previous php.general (#170060) next »