Hi. When I try resizing images using Image Manipulation Class it says the file does not have write permissions so I manually change it to 777. But when I try using PHP’s function it return an error stating that operation is not allowed. I also tried a possible workaround using php.net chmod reply. But even that failed returning the same error.
I am hosting on a shared server. Where Cpanel is available.
So is there a way I can set default permission for files inside a particular directory ?
Or is there someway I can use the resize function during the upload of the picture ?