NYCPHP Meetup

NYPHP.org

[nycphp-talk] php and deletion of Windows directories

Lindner, Richard RLindner at morrisjohnson.com
Thu Sep 1 10:52:38 EDT 2005


>> However, on a Windows machine I can only delete the files in the directory 
>> but not the directory itself.  I've been playing around with the 
>> permissions of the directory and the parent of the directory but I can't 
>> seem to find the right settings.  What is the user that PHP runs under in 
>> Windows?


I believe that you're running into the limitation of the "delete" command in Windows.  In order to remove a direction, you need to use the "RD" or "RMDIR" command after deleting the files in the folder.



More information about the talk mailing list