1
0
Fork 0
php-coding/7.test3.php

44 lines
1.0 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>文件上传</title>
</head>
<body>
<form method="post" action="7.test3.ok.php" enctype="multipart/form-data">
<table>
<tr>
<td>
<label for="file1">待上传的文件1:</label>
</td>
<td>
<input type="file" name="file[]" id="file1">
</td>
</tr>
<tr>
<td>
<label for="file2">待上传的文件2:</label>
</td>
<td>
<input type="file" name="file[]" id="file2">
</td>
</tr>
<tr>
<td>
<label for="file3">待上传的文件3:</label>
</td>
<td>
<input type="file" name="file[]" id="file3">
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<input type="submit" value="提交">
</td>
</tr>
</table>
</form>
<?php
?>
</body>