fixed an autoindex issue, working on uploading files
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
<h1 style="text-align:center">Webserv in Test</h1>
|
||||
<hr>
|
||||
<p style="text-align:center">Time to submit something:</p>
|
||||
<form action="/upload" method="post">
|
||||
<input type="file" id="myFile" name="filename">
|
||||
<input type="submit">
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user