Files
42_INT_12_webserv/www/test/submit_form.html

17 lines
453 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Webserv test Something</title>
</head>
<body>
<h1 style="text-align:center">Webserv in Test</h1>
<hr>
<p style="text-align:center">Time to submit something:</p>
<form action="./srcs/cgi-bin/upload_file.php" method="post">
<input type="hidden" name="upload_dir" value="./www/uploaded/">
<input type="file" id="fileToUpload" name="myFile">
<input type="submit" value="Upload File">
</form>
</body>
</html>