Reply to Re: [PHP] Re: Can't Delete File Using Unlink

Your name:

Reply:


Posted by John Nichel on 04/11/05 21:55

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация