1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-04 16:39:34 +00:00

fix some html validator concerns

This commit is contained in:
Rouji 2019-06-24 00:40:03 +02:00
parent be2d77e546
commit 89145d6585

View File

@ -281,10 +281,12 @@ function print_index()
$hupl_url = $url."?hupl";
echo <<<EOT
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Filehost</title>
<title>x0.at Filehost</title>
<meta name="description" content="Minimalistic service for sharing temporary files." />
</head>
<body>
<pre>
=== How To Upload ===
@ -299,7 +301,7 @@ Or simply choose a file and click "Upload" below:
(Hint: If you're lucky, your browser may support drag-and-drop onto the file
selection input.)
</pre>
<form id="frm" action="" method="post" enctype="multipart/form-data">
<form id="frm" method="post" enctype="multipart/form-data">
<input type="file" name="file" id="file" />
<input type="hidden" name="formatted" value="true" />
<input type="submit" value="Upload"/>