6 lines
236 B
PHP
6 lines
236 B
PHP
<form action="upload.php" method="post" enctype="multipart/form-data">
|
|
<label for="file">选择图片:</label>
|
|
<input type="file" name="file" id="file" accept="image/*" required>
|
|
<input type="submit" value="上传">
|
|
</form>
|