Posted by Chuck Anderson on 09/15/05 01:00
betterdie@gmail.com wrote:
>Dear guru
>
>I want to delete all file and folder recursivly under php code, can
>anyone give me commend for this.
>
>Thank very much
>
>
>
I wrote a function to do that a few weeks ago that was based on a
recursive copy function (for an application script on my local Windows
machine), but when it came time to test it, I chickened out and just
wrote a script to remove the specific folders used in my application.
Be careful. Those files do not go to the recycle bin.
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Integrity is obvious.
The lack of it is common.
*****************************
[Back to original message]
|