Hi all of you
my questions>>
*how to delete folders?
*how to delete all files in a folder?
*how to delete certain files for ex. ".php" extension files in a folder?
I would really appreciate your help.
Thanks in advance to all of you.
delete folders and files using php??
Moderator: General Moderators
http://us3.php.net/unlink
http://us3.php.net/manual/en/function.rmdir.php
read the user comments for gotchas
http://us3.php.net/manual/en/function.rmdir.php
read the user comments for gotchas
Thanks Mr.The Ninja Space Goat
i got the basic idea...
besides, I found a good recursive function for deleting files and folders...
Hope this will be helpful to many..
the link is below:
http://lixlpixel.org/recursive_function ... ry_delete/[/url]
i got the basic idea...
besides, I found a good recursive function for deleting files and folders...
Hope this will be helpful to many..
the link is below:
http://lixlpixel.org/recursive_function ... ry_delete/[/url]
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact: