title: Symfony 1.4 can't get submitted files
body: <p>must be some thing simply resolving, but as a beginner, i've already spend 2 days trying to find out. I'm having a simple form ("enctype="multipart/form-data") with few inputs of text and file. I can't get what's wrong, i can get user's text data through getParameter(), but cannot get file getFiles(). i'm on ubuntu 11.04 php5.3</p>
  
  <p>code:</p>
  
  <p>form class:</p>
  
  <pre><code>public function configure()
    {
      $this-&gt;setWidgets(array(
        'vendor'  =&gt; new sfWidgetFormInputText(array(), array('class' =&gt; 'form-text')),
        'image'       =&gt; new sfWidgetFormInputFile(array(), array('class' =&gt; 'form-text')),
        'city'      =&gt; new sfWidgetFormInputText(),
        'email'   =&gt; new sfWidgetFormInputText(array('default' =&gt; 'simple@sample.org')),
          'contacts' =&gt; new sfWidgetFormTextarea(),
        'description' =&gt; new sfWidgetFormTextarea(),
      ));
      $this-&gt;setValidators(array(
        'vendor'  =&gt; new sfValidatorString(array('required' =&gt; false)),
          'image'   =&gt; new sfValidatorFile(array(
              'required'  =&gt; false,
          'path'       =&gt; sfConfig::get('sf_upload_dir') . '/images',
          'mime_types' =&gt; 'web_images')),
        'city'    =&gt; new sfValidatorString(array('required' =&gt; false)),
          'email' =&gt; new sfValidatorString(array('required' =&gt; false)),
          'contacts'  =&gt; new sfValidatorString(array('required' =&gt; false)),
          'description'   =&gt; new sfValidatorString(array('required' =&gt; false)),
      ));
      $this-&gt;widgetSchema-&gt;setNameFormat('pv[%s]');
    }
  </code></pre>
  
  <p>action:</p>
  
  <pre><code>public function executeCreate(sfWebRequest $request)
  {
  $this-&gt;forward404Unless($request-&gt;isMethod(sfRequest::POST));
  return $this-&gt;renderText(var_dump($request-&gt;getParameter('pv'))); //this array include vars from form
  //return $this-&gt;renderText(var_dump($request-&gt;getFiles('pv'))); //empty array
  }
  </code></pre>