trekerboy Posted August 23, 2007 Share Posted August 23, 2007 Hello, I recently completed an upload script that works create if the target directory is chmod 777. Just typing that makes me cringe... is there anyway to upload to a directory that's not 777 besides changing the permissions before and after the upload is completed? I appreciate any advice. - Jason Quote Link to comment https://forums.phpfreaks.com/topic/66412-upload-directory-permission-anything-but-777/ Share on other sites More sharing options...
hitman6003 Posted August 23, 2007 Share Posted August 23, 2007 Technically, if the folder is owned by the web user, then you can set the permissions to 600 and be able to read and write files to it. Quote Link to comment https://forums.phpfreaks.com/topic/66412-upload-directory-permission-anything-but-777/#findComment-332407 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.