|
|
|
|
![]() ![]() |
Dec 18 2005, 02:30 PM
Post
#1
|
|
|
Incest is a game the whole family can play. ![]() Group: [MODERATOR] Posts: 1,223 Joined: 11-February 05 From: Heaven Member No.: 3,709 |
Is there a function or a group of functions which I can use to delete all the files an folders in a directory? I've tried rmdir() but it complains that it can't remove it because there are files/folders in it.
|
|
|
|
Dec 18 2005, 05:43 PM
Post
#2
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 172 Joined: 18-August 05 Member No.: 10,836 |
Try using FileMenager under your cPanel.
|
|
|
|
Dec 18 2005, 05:46 PM
Post
#3
|
|
|
Incest is a game the whole family can play. ![]() Group: [MODERATOR] Posts: 1,223 Joined: 11-February 05 From: Heaven Member No.: 3,709 |
I know cPanel can do that, but I would like a function which I can use in my php scripts, rather than having to delete it manually each time.
|
|
|
|
Dec 18 2005, 05:56 PM
Post
#4
|
|
|
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 6,561 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() |
hey cmat go here it might help you out.
http://us3.php.net/function.unlink and or http://us3.php.net/manual/en/function.rmdir.php both give some info on doing it if you have not already gone to this site. |
|
|
|
Dec 19 2005, 10:00 AM
Post
#5
|
|
|
Incest is a game the whole family can play. ![]() Group: [MODERATOR] Posts: 1,223 Joined: 11-February 05 From: Heaven Member No.: 3,709 |
Thanks S_M. I've modified one of the scripts provided in the user notes section and it now works
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 01:09 AM |