rmdir permission errors on a Windows box
From: Alex Kouzemtchenko (kuza55_at_gmail.com)
Date: 09/29/04
- Next message: chotiwallah: "Re: store code in a variable and execute it"
- Previous message: Geoff Berrow: "Re: while echo output"
- Next in thread: Alvaro G. Vicario: "Re: rmdir permission errors on a Windows box"
- Reply: Alvaro G. Vicario: "Re: rmdir permission errors on a Windows box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2004 00:19:55 -0700
ok, I've got a peice of code that deletes folders, wether empty or
non-empty and I keep getting these errors:
Warning: rmdir(./modules/test/Copy of test/Random Folder)
[function.rmdir]: Permission denied in
c:\webdesign\fms\modules\functions.php on line 44
Warning: rmdir(./modules/test/Copy of test) [function.rmdir]:
Directory not empty in c:\webdesign\fms\modules\functions.php on line
52
Warning: rmdir(./modules/test/) [function.rmdir]: Directory not empty
in c:\webdesign\fms\modules\functions.php on line 52
I've tried including chmod("$dir/$entryname", 0777); in my function
before it attempts to do anything with any file or directory, and I've
also tried using ini_set ("safe_mode", 0); to turn safe mode off but i
still get these errors.
I've exhausted everything i can think of, so yeah, eny help anyone can
give I will greatly appreciate.
- Next message: chotiwallah: "Re: store code in a variable and execute it"
- Previous message: Geoff Berrow: "Re: while echo output"
- Next in thread: Alvaro G. Vicario: "Re: rmdir permission errors on a Windows box"
- Reply: Alvaro G. Vicario: "Re: rmdir permission errors on a Windows box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|