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: https://php.livejournal.com/675722.html

« Hmm... || Do x to items 1-7, then y... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home