当前位置: 首页 > 图文教程 > 网络编程 > 编程10000问 > 在无组件的情况下,如何上传图片?

编程10000问
ASP问答集
asp中在JScript中使用RecordSet对象的GetRows
oblog_4.6_SQL 语句

编程10000问 中的 在无组件的情况下,如何上传图片?


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-10   浏览: 27 ::
收藏到网摘: n/a

<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]