esport Posted October 18, 2007 Share Posted October 18, 2007 Hi guys, I have an upload function that uploads images into a folder. The folder is set to 777. However when I upload an image file to the folder, the file uploaded is set to 600. Therefore it wont appear on web. I'm not sure why this is doing this for?? Im using the php function move_uploaded_file to upload the file. Any help would be much appreciated. Daniel Quote Link to comment https://forums.phpfreaks.com/topic/73728-filefolder-permissions/ Share on other sites More sharing options...
PHP_PhREEEk Posted October 18, 2007 Share Posted October 18, 2007 Try CHMOD after the file is moved. See here for the usage: http://us2.php.net/manual/en/function.chmod.php Quote Link to comment https://forums.phpfreaks.com/topic/73728-filefolder-permissions/#findComment-372059 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.