By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

File uploads and upload_tmp_dir

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.