asp(不是.net)向sql中上传/显示图片

来源:百度知道 编辑:UC知道 时间:2024/05/28 16:20:36
要源代码

请问你是要传到SQL中是以二进制呢还是要在SQL里存图片的路径呢?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Style.css" rel=stylesheet type=text/css>
</head>
<body leftmargin="0" topmargin="0">
<table>
<form name="form" method="post" action="upfile.asp" enctype="multipart/form-data" >
<tr>
<td>
<input type="hidden" name="filepath" value="uploadImages">
<input type="hidden" name="act" value="upload">
<input class=c type="file" name="file1" size=35>
<input type="submit" name="Submit" value="上传" class=c>
</td>
</tr></form>
</table>
<%if re