|
Posted by "Gustav Wiberg" on 09/02/05 20:48
Hi there!
Are you using rmdir?
http://se2.php.net/manual/en/function.rmdir.php
/G
@varupiraten.se
----- Original Message -----
From: "James" <jtu@esidesign.com>
To: <php-general@lists.php.net>
Sent: Friday, September 02, 2005 6:45 PM
Subject: [PHP] 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
>
Navigation:
[Reply to this message]
|