Re: controlling ownership on file uploads ...
| From: | Marek Kilimajer | Date: | Thu, 28 Nov 2002 12:39:48 +0000 |
| Subject: | Re: controlling ownership on file uploads ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126399@lists.php.net to get a copy of this message | ||
Besides what was said before, you don't even need to delete it, it will be deleted when your script is done.
If you want to keep it, you have to move it elsewhere.
Kenn Murrah wrote:
Greetings. I've written a simple form to allow my clients to upload files to me, and it works fine EXCEPT that the uploaded file is owned by "www" and I while I can read the file, I don't have the necessary permissions to delete it when done ... Since this site is being hosted elsewhere, is there a way I can control ownership so that I can delete the file? I've written my ISP/web hoster and received no response -- usually that's their subtle way of telling me I should ask the PHP quiestion here :-) Any and all help would be appreciated. Thanks, kenn