Hello there,
I have an application we are integrating into our website. The administrative back end of the code is encrypted so I do not have access to change the code at all.
I am having problems where the uploading feature works fine to upload however the file permissions on the newly uploaded files is set to 600 and is not readable by the browser unless I manually chmod the file.
I tried setting a umask but php does not pay attention to it, (touching a file will respect the umask so I know I set it correctly)
My existing permissions are 777 on the upload directory.
I've looked for a php.ini setting that would allow me to set specific upload permissions, but can't find anything.
Again, I do not have access to the source code because it is encrypted.
Any ideas?
Thanks!!!
PHP Upload permissions.
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: PHP Upload permissions.
So you don't have access to any of the code that actually uploads a file?
Re: PHP Upload permissions.
Correct. It is all encrypted. 
Maybe I should have used a different forum...
Maybe I should have used a different forum...
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: PHP Upload permissions.
No matter what forum you use, it'd be pretty difficult to try and help someone if they don't have access to any source code!!!