upload.html

来自「this is a simple upload files codes with」· HTML 代码 · 共 20 行

HTML
20
字号
<html>
	<head>
		<link rel="stylesheet" href="upload.css" type="text/css">
		<script language="JavaScript">
	
			function autoFormSubmit()
      {
				 document.getElementById("upload_form").submit();
			}
      
		</script>
	</head>
<body>
<form class='style1' name="upload_form" id="upload_form" enctype="multipart/form-data" method="POST" action="upload1.php" onSubmit="return false;">
    <input type="hidden" name="MAX_FILE_SIZE" value="100000000" />
    Send this file: <input name="userfile" id="userfile" type="file" onChange="autoFormSubmit();"/>
    <div id="txt" style="display: none"></div>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?