Skip to content

Commit 09e1dd2

Browse files
author
jmoormann.sbgtv
committed
remove form example
1 parent 0c5c5e5 commit 09e1dd2

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

pages/about.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
<?php
2-
3-
if ($req->method == 'POST') {
4-
$files = $req->files('myFiles');
5-
echo '<pre>' . json_encode($files, JSON_PRETTY_PRINT);
6-
}
7-
8-
?>
9-
<h1>About</h1>
10-
<form enctype="multipart/form-data" method="POST">
11-
<input type="file" name="myFiles[]" multiple>
12-
<button type="submit">Upload</button>
13-
</form>
1+
<h1>About</h1>

0 commit comments

Comments
 (0)