need help understanding file permissions setting for the PHP application -


i have developed application on macintosh using mamp

when upload server powered cpanel11, centos 5.. gives several error regarding file permissions default gives 0700 file permission of files not work within server. want know how apply file permission settings php application,

the directory structure or rule want apply following conditions.

a)file uploading directory

b) of php file using include_once()

c) normal php files communicates each other.

thank you

file uploads in php first hit defined temporary directory (see 'upload_tmp_dir' directive in php.ini) , intended destination directory (php command "move_uploaded_file").

your php process runs user needs own destination directory or in group allowed write directory - unless whole directory not writable (it's not in case).


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -