Re: File upload via HTML forms
| From: | \[Intent A/S\] Tais M. Hansen | Date: | Tue, 03 Apr 2001 08:05:57 +0000 |
| Subject: | Re: File upload via HTML forms | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46784@lists.php.net to get a copy of this message | ||
SOLVED!
Setting TMPDIR="site-specific-upload-directory" at execution time of the PHP
parser, made it work. The directory must have a+rwx though!
--
--
Intent A/S
Tais M. Hansen
Web Developer
""[Intent A/S] Tais M. Hansen"" <tmh@intent.dk> wrote in message
news:9abu1j$99q$1@toye.p.sourceforge.net...
> Hi!
> system(), exec(), popen() and similar has been disabled in the system I'm
> working on, if that's what you're talking about. :(
> I can't read the temp file because it's created in PHP's UID which is not
> the same as the script's. I also tried the FTP approach, but apparently
the
> files written with FTP can't be manipulated with PHP. Can't create new
files
> and can't unlink the old! No permission.
> I must admit I've come to hate the web hotel this is all running on!
>
> Thanks!
> --
> Intent A/S
> Tais M. Hansen
> Web Developer