Re: upload_tmp_dir Not Working
| From: | Mark Collin | Date: | Fri, 30 Jul 2004 22:03:57 +0000 |
| Subject: | Re: upload_tmp_dir Not Working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192366@lists.php.net to get a copy of this message | ||
Have you phsyically checked what is in /home/site/temp/ directory ?
I suspect the file is being placed there but php is just referring to it
as /temp/
"Monty" <monty3@hotmail.com> wrote in message
news:BD30311E.224BC%monty3@hotmail.com:
> In my .htaccess file I have...
>
> php_value upload_tmp_dir /home/site/temp
>
> But when I upload a file using a form, here's what the $_FILE array
> prints
> out:
>
> [tmp_name] => /temp/phpvRRDss
>
> /temp is a valid directory, but, it's not the directory I specified in
> the
> .htaccess file for this site.
>
> So, obviously PHP is not using my temp directory, or it's not reporting
> the
> proper temp directory in the $_FILES array.
>
> I also tried adding this to my httpd.conf file within the site's
> VirtualHost
> directives, but, that didn't work either (yes, I restarted Apache
> first).
>
> Anyone have any insight on this??
>
> Thanks! - Monty