Note Submitter: Anonymous
----
I couldn't see a breakdown of the 'error' array, so I thought this might help people looking for the same:
( Note: Copied from http://www.weberdev.com/ViewArticle/File-upload-with-PHP )
switch($_FILES['MyFile']['error']) {
case 1 : Echo"The uploaded file exceeds the upload_max_filesize directive in php.ini.";
break;
case 2 : Echo"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.";
break;
case 3 : Echo"The uploaded file was only partially uploaded.";
break;
case 4 : Echo"No file was uploaded.";
break;
case 6 : Echo"Missing a temporary folder.";
break;
case 7 : Echo"Failed to write file to disk";
break;
case 8 : Echo"File upload stopped by extension";
break;
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.