While upload a single or many files in php if you using this
print_r($_FILES);
[error] => 2
then some time file not uploading and giving this error : [error] => 2
this is because
<input type=”hidden” name=”MAX_FILE_SIZE” value=”300000000″ /> use like this much value
then this error ( [error] => 2 ) should be solved
<input type=”hidden” name=”MAX_FILE_SIZE” value=”300000000″ />