title: $_FILES Not Working?
body: <p>I am submitting files via this way, inside of a form (with a submit button, form tags, etc):</p>
  
  <pre><code>&lt;fieldset&gt;
          &lt;input type="file" name="file" /&gt;
      &lt;/fieldset&gt;
  </code></pre>
  
  <p>And I am trying to pull it/use it with PHP this way:</p>
  
  <pre><code>$file = $orgname."/".basename($_FILES['file']['name']);
  move_uploaded_file($_FILES['file']['tmp_name'], $file);
  </code></pre>
  
  <p>And I am getting these errors:</p>
  
  <pre><code>Notice: Undefined index: file in C:\wamp\www\generic\addorg.php on line 45
  
  Notice: Undefined index: file in C:\wamp\www\generic\addorg.php on line 46
  </code></pre>
  
  <p>What could be causing this? Everything I've looked into suggests it should work.</p>