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