Lisa (julisana) wrote in php,

Question about file uploads

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?

  • Post a new comment


    default userpic

    Your IP address will be recorded 

  • 1 comment