15 lines
No EOL
280 B
PHP
15 lines
No EOL
280 B
PHP
<?php
|
|
|
|
if (isset($_POST['file']))
|
|
{
|
|
print_r($_POST['file']);
|
|
}
|
|
?>
|
|
<!DOCTYPE html>
|
|
<h1>Publish</h1>
|
|
<form method="POST" action="/publish" enctype="multipart/form-data">
|
|
<div>
|
|
<input type="file" name="file" />
|
|
</div>
|
|
<input type="submit" name="key" value="Go" />
|
|
</form>
|