Re: upload_tmp_dir Not Working
| From: | Justin Patrin | Date: | Fri, 30 Jul 2004 21:37:05 +0000 |
| Subject: | Re: upload_tmp_dir Not Working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192364@lists.php.net to get a copy of this message | ||
On Fri, 30 Jul 2004 17:08:46 -0400, Monty <monty3@hotmail.com> wrote:
> 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??
>
Perhaps try putting it in your php.ini where it belongs? Perhaps this
is a non-overrideable value.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--