SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php | |
| 2 | echo $_FILES['file']; | |
| 3 | ?> | |
| 4 | ||
| 5 | - | <form action="#" method="POST"> |
| 5 | + | <form action="#" method="POST" enctype="multipart/form-data"> |
| 6 | - | <input type="file" name="file" enctype="multipart/form-data" /> |
| 6 | + | <input type="file" name="file" /> |
| 7 | <input type="submit" value="Upload" /> | |
| 8 | </form> |