title: retrieve input type file value using get method
body: <p>i m trying to update images using GET method  </p>
  
  <p>user_form.php</p>
  
  <pre><code>&lt;form action='upload.php' method='get'&gt;  
    &lt;input type='file' name='user_img' /&gt;
    &lt;input type='text' name='username' /&gt;
    &lt;input type='submit' name='update' value='update'&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>upload.php</p>
  
  <pre><code>if(isset($_GET['update']))
  {
    echo 'username: '.$_GET['username'];
    echo 'file name: '.$_FILES['user_img']['tmp_name'];
  }
  </code></pre>
  
  <p>i m getting correct value for username, however, blank value for filename. </p>
  
  <p>can anyone please let me know if we can use $_FILES variable for GET method? if yes then please point out where m i going wrong in the above sample code. thank you.</p>