Oct
14
前面有人写过PHP储存图片的内容,刚泡完澡,写个以前关于ASP上传直接存到库的来完结今天。
前提情况说明:
表:table 存储字段:photo、类型(OLE 对象)
读图程序:show_photo.asp
1、上传图片
<table border="0" width="100%" cellpadding="0">
<tr>
<td width="74%" nowrap>上传新照片:<input type="file" name="photo"></td>
<td width="26%">
<p align="right"><input type=submit value="上传照片"></p>
</td>
</tr>
</table>
前提情况说明:
表:table 存储字段:photo、类型(OLE 对象)
读图程序:show_photo.asp
1、上传图片
<table border="0" width="100%" cellpadding="0">
<tr>
<td width="74%" nowrap>上传新照片:<input type="file" name="photo"></td>
<td width="26%">
<p align="right"><input type=submit value="上传照片"></p>
</td>
</tr>
</table>
Oct
14




