Question about file uploads
Date: 01/04/10
(PHP Community) Keywords: no keywords
Wow, I'm posting a lot lately!
So I'm working on a script that will upload files to a server. Is there a way to specify what user the script uploads as, or am I just stuck with uploading as the "nothing" user?
I know I can chown it after the fact, but that just doesn't seem to work well.
Also, if I use chmod() on a directory, will the permission change also apply to all files within the directory?
Thanks!
Source: http://php.livejournal.com/675722.html