|
Posted by Ben Ramsey on 04/11/05 21:49
Ahmed Abdel-Aliem wrote:
> chmod("files/".$this->File_Name, 777);
I'm not really sure how chmod() works on Windows. Someone else here may
be able to answer that. However, I do know that chmod() expects an octal
as the second argument, so you must prefix that 777 with a 0. It should be:
chmod("files/".$this->File_Name, 0777);
See here for more info: http://us2.php.net/chmod
Like I said, I'm not sure whether this is the cause of the problem, but
give it a shot and see what happens. :-)
--
Ben Ramsey
http://benramsey.com/
Navigation:
[Reply to this message]
|