用户登录
用户注册

分享至

在无组件的情况下,如何上传图片?

  • 作者: 嗫?暁雲?
  • 来源: 51数据库
  • 2020-08-08

<html>

<head>

<title>星河影动</title>

</head>

<body>

<tr>

<td height="69"><p align="center">撼雪喷云之无组件上传图片</font></td>

</tr>

<tr>

<td height="9">

<form enctype="multipart/form-data" action="upload.asp" method="post">

' 请求表单信息的编码类型必须使用enctype="multipart/form-data".

<div align="center"><center><p>请选择上传的图片: <br>

</font>  

<input name="picture" type="file" accept="image/*"><br>

' accept将对话框中出现的文件类型限制为图文件.

<input type="submit" value="现在上传"></p>

' 创建上传键.

</center></div>

</form>

</td>

</tr>

</table>

</center></div>

<p>  </p>

</body></html>

 

 

[1]

软件
前端设计
程序设计
Java相关