Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Untitled</title>
- <link rel="stylesheet" href="css/style.css">
- <link rel="author" href="humans.txt">
- </head>
- <body>
- <div class="container">
- <form method="post" enctype="multipart/form-data">
- <input type="file" name="file">
- <br>
- <input type="submit" value="upload" name="submit">
- </form>
- <?php
- if (isset($_POST['submit'])) {
- print_r($_FILES);
- }
- ?>
- </div>
- <script src="js/main.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment