Re: [PHP4BETA] The rmdir() command

From: Date: Tue, 30 Nov 1999 23:58:03 +0000
Subject: Re: [PHP4BETA] The rmdir() command
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7138@lists.php.net to get a copy of this message
On 30 Nov, Matt Greene wrote: > Ok in my script i am building i need the ability to remove a dir, so i use > rmdir() but sometimes the dir isnt always empty so what is it that i need to > add to make it delete the directory anyway? Looks like rmdir only works on an empty directory, so you will need to unlink() any files in the directory before attempting to remove it. Cheers -- David Robley WEBMASTER | Phone +61 8 8374 0970 RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA Visit the PHP mirror at http://au.php.net:81/ <<<<<<<<<<<<< WARNING * END OF TEXT * STOP READING HERE >>>>>>>>>>>>>>

« previous php.version4 (#7138) next »