470,833 Members | 1,620 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

File uploads and upload_tmp_dir

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

Jul 17 '05 #1
1 4784
Xenofon Papadopoulos <ad*****@yahoo.com> wrote in message news:<bp***********@ulysses.noc.ntua.gr>...
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


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
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tim218 | last post: by
3 posts views Thread by Mike Walsh | last post: by
9 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
4 posts views Thread by Guillaume ALLEON | last post: by
6 posts views Thread by Vic Spainhower | last post: by
9 posts views Thread by Arthur Jacobs | last post: by
1 post views Thread by wbsurfver | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.