File upload via HTML forms
| From: | \[Intent A/S\] Tais M. Hansen | Date: | Mon, 02 Apr 2001 11:37:53 +0000 |
| Subject: | File upload via HTML forms | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46592@lists.php.net to get a copy of this message | ||
Hi!
I'm currently working with a site on a safe mode enabled server.
First off, there's no way safe mode can be disabled.
Now, I need to be able to upload a file via a HTML form post, read and copy
this file to a different location. But when the file is uploaded, it is
placed in a tmp dir with the uid of what php is running with and since the
script I'm working with will always have a different ownership/uid than the
php process, I won't be able to read this file.
Does anyone know how to get around this problem?
Thanks in advance!
--
--
Intent A/S
Tais M. Hansen
Web Developer