I have this page, which is to upload pictures to my server, but it uses a basic html form type=file kind of upload which is run by php. The problem is, that when the picture gets uploaded into the 777 directory, it always gets uploaded as a 600 permission. So now, I can't see the photo online!.
I got very frustrated and remembered that "when you're frustrated, ask EE!". so here I am.
I know you can change the file permissions using php, but I don't know where in this script I would put it. This script is so php - html integrated, that I wanted your ideas on what I would do to make the file that is uploaded through this script default to 777.
What do I write, and where (perhaps many places) do I put it?
Here is the link to the text of the file: <a href="http://www.aunthat.com/nixedia_test/htdocs/photo_upload.txt
Points awarded due to completeness of the answer and ease of undersanding your answer.