Message: mkdir(): Permission denied |
(09-30-2015, 03:56 AM)Martin7483 Wrote: You can use the PHP function is_writable( $filename ) I have also tried to to comment out this script and create the folder manually as you said with permissions 0777, although is not so secure, but when I tried to upload a file the Upload library was displaying a message that the folder was not writable (!!!). Also the uploads folder is my base dir for storing everything that a user uploads, like posts (posts dir is the base dir for all post images). In my uploads dir I'm also planning to store images for photo albums, so imagine that each user should have the ability to create album folders for uploading their photos in them. So basically some sub-folders in the uploads directory would have to create them with PHP. One additional thing I tried is to upload an image straight in my uploads directory, but I was still getting the same error. |
Welcome Guest, Not a member yet? Register Sign In |