Re: deleting files on Windows...permissions issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there!

Are you using rmdir?

http://se2.php.net/manual/en/function.rmdir.php

/G
@varupiraten.se

----- Original Message ----- From: "James" <jtu@xxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Friday, September 02, 2005 6:45 PM
Subject:  deleting files on Windows...permissions issue


I have a php script that can delete files in a folder but it can not delete the folder itself.

I've tried to play around with permissions on the Windows box and couldn't set it to something that would allow the PHP script to delete the folder. I think I even tried to set the permissions for the folder's parent folder.

This PHP script is called from a browser.

What user does the PHP script run as when served up by Apache on Windows? (once I have this answer, I can set the owner of the folder to this user and give that a shot)
--
-James

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux