file rights are wrong after move_uploaded_file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PeterFI

    #1

    file rights are wrong after move_uploaded_file

    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_f ile settings
    wrong/missing? Manual rights modification is out of question, because
    automation is whats this is all about.
  • Shawn Wilson

    #2
    Re: file rights are wrong after move_uploaded_f ile

    PeterFI wrote:[color=blue]
    >
    > Can i change file rights using php, is move_uploaded_f ile settings
    > wrong/missing? Manual rights modification is out of question, because
    > automation is whats this is all about.[/color]

    chmod()

    Shawn
    --
    Shawn Wilson
    shawn@glassgian t.com

    Comment

    Working...