Re: Deleting File
| From: | Mike Maltese | Date: | Thu, 21 Mar 2002 21:21:33 +0000 |
| Subject: | Re: Deleting File | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89588@lists.php.net to get a copy of this message | ||
Make sure the owner of the server process has delete permissions for the
directory in question.
----- Original Message -----
From: "pong-TC" <pong@taft.org>
To: <php-general@lists.php.net>
Sent: Thursday, March 21, 2002 11:25 AM
Subject: [PHP] Deleting File
> Hello All
>
> I am trying to build a text file, and delete it by using unlink function,
> but it always refuse to do so because of permission denied. It gives me
> an error as follows:
>
> Warning: Unlink failed (Permission denied) in
> d:\inetpub\wwwroot\cgi-bin\myfile.php on line 45
>
> Actually, the file was created in the same page by using fopen, and then I
> want to delete when no longer used. I had tried a delete function, but
> not work. I am running PHP as a cgi on IIS 5, Win2K.
>
> If anyone can help.
>
> Pong
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>