I'm trying to upload a file from a web form using php. The upload form looks like:
<form enctype="multipart/form-data" action="uploaded.php" method="POST">
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
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:
which shows me:
Here is some more debugging info:Array
[userfile] => Array
[name] => upload_test.txt
[error] => 6
[size] => 0
Error 6, according to PHP.net, means:
Value: 6; Missing a temporary folder.
How do I fix this?