Posted by David Gillen on 01/04/07 22:36
laredotornado@gmail.com said:
> Does anyone know of, or have code that will delete a php directory and
> all its sub directories and files. "unlink" and "rmdir" don't do this.
> I'd prefer not to use "exec" with a system call but if that's the only
> way, so be it.
>
> I'm using PHP 4.4.4.
>
http://ie.php.net/rmdir
Read the first user comment on the page. The one with the function
recursiveRemoveDirectory()
D.
--
[Back to original message]
|