Temp file upload directory?


Hi all,
I’m trying to upload a file from a web form using php. The upload form looks like:


Send this file:

[/code]So it should send to uploaded.php. However, that page is telling me there is a problem when I upload a file called upload_test.txt. I use this to see the problem: print_r($_FILES);

which shows me:

[code]Here is some more debugging info:Array
[userfile] => Array
[name] => upload_test.txt
[type] =>
[tmp_name] =>
[error] => 6
[size] => 0

[/code]Error 6, according to PHP.net, means:

Value: 6; Missing a temporary folder.

How do I fix this?