Reply to Re: [PHP] deleting files on Windows...permissions issue

Your name:

Reply:


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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация