file upload permissions w/ php
file upload permissions w/ php
- Started
- Last post
- 2 Responses
- badzenjt
I am attempting to make a form that uploads a file to a PHP script and then BAM...loads that to a new directory and saves the file name.
Script works fine, but I think the permissions are not ok. This is an outrage and I cant seem to make it work.
- metonym0
script: chmod 755
directory: chmod 755If you want a copy of a script I wrote that does this exact thing, email me.
- metonym0
--for the directory, you can get away with chmod 707. Always go for the lowest possible permissions.