Run
Back to
HTML enctype Attribute
<form action="formscript.php" method="post" enctype="multipart/form-data"> <label for="name">Your Name:</label><br> <input type="text" id="name" name="name"><br><br> <label for="file">Upload File:</label><br> <input type="file" id="file" name="file"><br><br> <button type="submit">Submit</button> </form>