Hi,
I hope someone can help me out with this. I am not an expert in php, but am learning. I have a site that I run on a Mac mini. Basically others upload image, audio, and video files to it using some php scripts. I cannot get in touch with the person who wrote the upload scripts for me. Everything works great, but the permissions on the uploaded files need to allow for everyone (chmod,0777) to read and write. This is run on a local network, so I am not really concerned about the rwx for everyone. I need it to allow for the local admin account on the mac mini to play the uploaded files in quick time. I went through the php.net site and tried everything I could think of. The scripts I have uses functions, which I don't understand. I have attached the scripts. You will see that it creates the directory and chmods it to 0777, if it dosn't exist, but when the files are uploaded, they are always:
-rw------- 1 www wheel 4300338 Dec 16 23:32 video.MOV
Any help would be greatly appreciated.
Thanks,
Pete