I need to submit form which contains two inputs:
<form action="upload" method="post" accept-charset="utf-8" enctype="multipart/form-data"
id="upload">
<textarea name="file_description"></textarea><br/>
<input type="file" name="userfile" id="userfile" /><br/>
<input type="submit" name="upload_button" value="upload"/>
</form>
This question maybe duplicate of this, but I tried and get errors. Can anyone guide me with submitting form which contains file and other inputs?