file rights are wrong after move_uploaded_file

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-03-2004
PeterFI
 
Posts: n/a
Default 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_file settings
wrong/missing? Manual rights modification is out of question, because
automation is whats this is all about.
Reply With Quote
  #2 (permalink)  
Old 11-03-2004
Shawn Wilson
 
Posts: n/a
Default Re: file rights are wrong after move_uploaded_file

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0