This is a discussion on file rights are wrong after move_uploaded_file within the PHP Language forums, part of the PHP Programming Forums category; Hello, my problem is as follows, I have a web page where user can upload pictures to unix server from ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
my problem is as follows, I have a web page where user can upload pictures to unix server from his own computer. Pictures are uploaded fine, but the rights of those files are not correct for further processing. Php code page that downloads pictures modifies this picturecatalog -page, that shows those pictures. Hmm, I want it to show. Everything else is ok and working but picture rights do not allow pictures to be viewed. I manually gave proper rights and catalogpage was ok. Rights after transfer are owner read, write. Can i change file rights using php, is move_uploaded_file settings wrong/missing? Manual rights modification is out of question, because automation is whats this is all about. |
|
|||
|
PeterFI wrote:
> > Can i change file rights using php, is move_uploaded_file settings > wrong/missing? Manual rights modification is out of question, because > automation is whats this is all about. chmod() Shawn -- Shawn Wilson shawn@glassgiant.com http://www.glassgiant.com |