[PHP-DB] chmod

2013-08-19 Thread Emiliano Boragina
Hello everyone, I try to use chmod 0777, but the JPG file in my localhost I cant view. I must enter in the windows properties of the JPG file, add the user with full permission, and them i can view it. I use this: move_uploaded_file($file_tmp,"$desired_dir/".$file_name); chmod("$desired_dir/".$file

Re: [PHP-DB] chmod

2013-08-19 Thread Matt Pelmear
Emiliano, This question is totally out of scope for this mailing list. It has nothing to do with databases at all. Also, you should _almost never_ use 0777 for permissions. You probably want 0644. (Owner can read/write, all others can read.) Regarding your question in general, it sounds like