⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pic_display.asp

📁 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会
💻 ASP
字号:

<%@ LANGUAGE="VBscript" %>
<%
Response.Buffer = true
Response.Expires = 0
%>
<!-- #include file="../dsn.asp" -->
<%
keyno=Request.QueryString("keyno")
code=Request.QueryString("code")
%>
<html>
<head>
<title>ͼƬ</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<% 
Response.Buffer = 1
Response.Clear
Response.ContentType="image/*"

set cn=server.CreateObject("ADODB.Connection")
cn.Open mycnstr
set rs=server.createobject("ADODB.recordset") 

sqltext="select picfile from picfiles where code='"+code+"' and keyno="&keyno
rs.Open sqltext,cn,1,1
Response.BinaryWrite(rs("picfile"))

rs.Close()
cn.Close()
%> 
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -