Re: Re: Can't Delete File Using Unlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux