showimage.aspchange the http headerresponse.contenttype = "image/gif"set cn = server.createobject("a
showimage.asp
change the http header
response.contenttype = "image/gif"
set cn = server.createobject("adodb.connection")
cn.open "driver={sql server};server=.;uid=sa;pwd=;database=pubs"
set rs = cn.execute("select logo from pub_info where pub_id='0736'")
response.binarywrite rs("logo")
response.end
showimage.htm
<html>
<head><title>闪亮日子之人事档案管理系统图片显示/title></head>
<body>
<ing src=" showimage.asp ">
</body></html>
[1]
相关文章:
-
如何判断发言是否为空?
if len(usersays)<>0 then session("whoto")=request.form("whoto") session("a...
[阅读全文]
-
如何随机显示图片计数器?
count.asp< html >< head >< meta http-equiv="content-type"content="text/html; cha...
[阅读全文]
-
-
如何实现点击数的计算?
counter.htm<a href=counter.asp?save=123&url=http://127.0.0.1/>http://127.0.0...
[阅读全文]
-
如何用变量实现群聊和悄悄话?
如何用变量实现群聊和悄悄话?<%if request.form("xt")="on" then ' 判断是否悄悄话.application.lock' 是...
[阅读全文]
-
版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。
发表评论