title: could not upload any thing other than jpg
body: <p>i this code for uploading in my zf application :</p>
  
  <pre><code>public function uploadAction() {
      $upload = new Zend_File_Transfer_Adapter_Http();
      $upload-&gt;setDestination("uploads");
      if (!$upload-&gt;isValid()) {
          throw new Zend_Exception("Upload Error");
      }
      try {
          $upload-&gt;receive();
      } catch (Zend_File_Transfer_Exception $e) {
          throw new Zend_Exception('Upload Error ' . $e-&gt;getMessage());
      }
  
  
      $this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender();
  }
  </code></pre>
  
  <p>and following html :</p>
  
  <pre><code>&lt;form enctype="multipart/form-data" action="admin/upload" method="POST"&gt;
  &lt;input type="hidden" name="MAX_FILE_SIZE" value="100000" /&gt;
  Choose a file to upload: &lt;input name="Filedata" type="file" /&gt;&lt;br /&gt;
  &lt;input type='hidden' name='MAX_FILE_SIZE' value='10000' /&gt;
  &lt;input type="submit" value="Upload File" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>everything works fine with jpg files ... but i got zend exception on JPG and png and ... etc :</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'Zend_Exception' with message 'Upload Error' in D:\xampp\htdocs\sc\application\controllers\AdminController.php on line 2539
    ( ! ) Zend_Exception: Upload Error in D:\xampp\htdocs\sc\application\controllers\AdminController.php on line 2539</p>
  </blockquote>
  
  <p>i debugged the exception and var dump validator message  ... found this :</p>
  
  <pre><code>array
  
  
  'fileUploadErrorFormSize' =&gt; string 'File 'Filedata' exceeds the defined form size' (length=45)
  </code></pre>