<form action="" enctype="multipart/form-data" method="post"> <input id="file" name="file" type="file" /> <input id="Submit" name="submit" type="submit" value="Submit" /> </form>