HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web archive/conferencesearch (old) (to delete)/book/getpic.asp
<%
Response.Contenttype="image/jpeg"
Response.Expires=60
Dim oConn, oRs, nRecs, LImage, LFound
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.ConnectionString = Application("ConnectionString")
oConn.Open
Set oRS = oConn.Execute("SELECT File FROM conferencedetails WHERE ID = '" & Request.QueryString("id") & "'", nRecs, &H0001)
LFound = Not oRS.Eof
If LFound Then LImage = oRS("File")
oRS.Close
Set oRS = Nothing
oConn.Close
Set oConn = Nothing
If LFound Then Response.BinaryWrite LImage
Response.End
%>