RE: [PHP] PHP unlink Errors

2009-01-13 Thread Alice Wei
, 0777) or die ("permission canonot be set");, how come the permission of this file is still 0666? Thanks in advance. Alice > Date: Tue, 13 Jan 2009 17:06:37 +0100> From: li...@bithub.net> To: > aj...@alumni.iu.edu> CC: php-general@lists.php.net> Subject: Re: [PH

Re: [PHP] PHP unlink Errors

2009-01-13 Thread Marc
Do you have php_safe_mode enabled? If's that's the case, try turning it off and then run your script again. Alice Wei wrote: Hi, I have a snippet below that I would like to delete a file. However, I keep getting kicked out because of permission errors, when my folder permission is 0777.