i m trying to update images using GET method
user_form.php
<form action='upload.php' method='get'>  
  <input type='file' name='user_img' />
  <input type='text' name='username' />
  <input type='submit' name='update' value='update'>
</form>
upload.php
if(isset($_GET['update']))
{
  echo 'username: '.$_GET['username'];
  echo 'file name: '.$_FILES['user_img']['tmp_name'];
}
i m getting correct value for username, however, blank value for filename.
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.
 
     
     
     
     
     
    