PHP Upload Script with File Mode Changes! How do ya do it?
Posted: Wed Sep 20, 2006 11:31 pm
I'm having a VERY frustrating time getting mode changes to work.
I've worked with two separate ftp_chmod type functions and neither of them work.
My upload script works great, but by default the permissions set on the uploaded files are so restrictive practically no one can see them. Is there any way I can change the 'default' file permission... or change the file permission during upload? Or... what? I'm lost. I just want to make these files available to the public after upload!
Thanks!
S.
I've worked with two separate ftp_chmod type functions and neither of them work.
My upload script works great, but by default the permissions set on the uploaded files are so restrictive practically no one can see them. Is there any way I can change the 'default' file permission... or change the file permission during upload? Or... what? I'm lost. I just want to make these files available to the public after upload!
Thanks!
S.