Lisa (julisana) wrote in php,
Lisa
julisana
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?

Thanks!
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 1 comment