Connecting Tech Pros Worldwide Forums | Help | Site Map

File uploads and upload_tmp_dir

Xenofon Papadopoulos
Guest
 
Posts: n/a
#1: Jul 17 '05
When I was using /usr/tmp to keep the temp uploaded files,
move_uploaded_file used to fail randomly. Since I created a directory
owned by nobody:nobody (my apache user) and set upload_tmp_dir to it, I
don't have any problems. Any idea why /usr/tmp as temp upload directory
created this kind of mess? It's not a quota problem.
I'm using php 4.3.4RC2


R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#2: Jul 17 '05

re: File uploads and upload_tmp_dir


Xenofon Papadopoulos <adepali@yahoo.com> wrote in message news:<bpt4cj$14fh$1@ulysses.noc.ntua.gr>...[color=blue]
> When I was using /usr/tmp to keep the temp uploaded files,
> move_uploaded_file used to fail randomly. Since I created a directory
> owned by nobody:nobody (my apache user) and set upload_tmp_dir to it, I
> don't have any problems. Any idea why /usr/tmp as temp upload directory
> created this kind of mess? It's not a quota problem.
> I'm using php 4.3.4RC2[/color]

If I'm right, the problem is with your target directory---it may
not be writable.

---
"Dying is an art, like everything else"---Sylvia Plath
Email: rrjanbiah-at-Y!com
Closed Thread