读取文件页 displaypic.asp :
id=replace(request("id"),"'","''")
sql="select * from ar_image where id=" & id
Response.ContentType = "image/jpeg" '(图片方式)
Response.BinaryWrite rs("ar_image")
rs.close
set rs=nothing
显示文件页:
<img src="displaypic.asp?id=<%=yrs("ar_time")%>" border="0">