Re: unable to delete php created files in php
| From: | Aidal | Date: | Wed, 06 Aug 2003 10:19:51 +0000 |
| Subject: | Re: unable to delete php created files in php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21037@lists.php.net to get a copy of this message | ||
Have you tried using chmod() on the files you create?
chmod(file_name, 0777) gives everyone all rights to the file.
"John Yu" <johnyu@revolutionhosting.net> wrote in message
news:20030804144411.11377.qmail@pb1.pair.com...
> It seems that when I try to unlink a file in php which has been created by
> php on a winxp machine I always get a unable to delete file, permission
> denied error...
>
> This seems to me to be very strange since the file was created by php and
> yet php doesn't have the rights to delete it.
>
> Anyone else ran into this and any suggestions at all?
>
> thanks in advance.
>
> John
>
>