Re: [PHP] multi uploads permissions

2003-10-02 Thread Raditha Dissanayake
Hi, you can either use the chown function in php syntax: |int chown|(string filename, mixed user); or use backticks (`) to call the system chown executable. The simplest way however might be to ask your sysadmin to set the umask for you. best regards Cameron Metzke wrote: Hi all, I have a multi

[PHP] multi uploads permissions

2003-10-01 Thread Cameron Metzke
Hi all, I have a multi upload script, which works, but the end result is that the files that are uploaded are set to permissions of 600. Im think this is because they have a tmp name then are written to the "uploads" folder so in effect they are written by another system user? (lol ok so im new to