Re: Re: Can't Delete File Using Unlink
| From: | John Nichel | Date: | Mon, 11 Apr 2005 18:55:54 +0000 |
| Subject: | Re: Re: Can't Delete File Using Unlink | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212830@lists.php.net to get a copy of this message | ||
Ahmed Abdel-Aliem wrote:
<snip>
$dest = $dest_dir . '/' .$this->File['name']; $r = move_uploaded_file($this->File['tmp_name'], $dest); $this->File_Name = $this->File['name']; chmod("files/".$this->File_Name, 777);I haven't messed with PHP/Apache on Windows in a long time but two things stick out to me that _may_ be a part of your issue. a) Can you even chmod on Windows? b) Paths in the MS world are with the backslash (\) and not the forward slash (/) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com