rmdir permissions
Posted: Sat Mar 22, 2003 11:30 am
I am new to PHP and have run into some problems with handling directories. I am using a Win2000 Adv Server System. I first create a directory with the following code:
mkdir("c:/inetpub/wwwcintrainc/images/$imagedir",0777);
where $imagedir is my new directory name.
When I come to delete this directory with:
rmdir("c:/inetpub/wwwcintrainc/images/$imagedir");
it tells me that I do not have permission to delete this directory.
CAN SOMEONE TELL ME WHAT I AM DOING WRONG????
I have messed with different permissions and changing the directory in IIS to no avail.
mkdir("c:/inetpub/wwwcintrainc/images/$imagedir",0777);
where $imagedir is my new directory name.
When I come to delete this directory with:
rmdir("c:/inetpub/wwwcintrainc/images/$imagedir");
it tells me that I do not have permission to delete this directory.
CAN SOMEONE TELL ME WHAT I AM DOING WRONG????
I have messed with different permissions and changing the directory in IIS to no avail.