구름과 바람 그리고 나그네 :: [asp] 바이너리 데이타를 asp로 보여주기

photo.asp

쿼리문..

페이지

Response.AddHeader "Content-Disposition", "filename=image.jpg"

Response.AddHeader "Content-type", "image/jpg"

Response.ContentType= "image/jpg"

Response.CharSet="binary"

Response.Expires = 0
Response.Buffer = True
Response.Clear

Response.BinaryWrite rs("IMAGES")


보여질 페이지에...
<img src="photo.asp?nSeq=<%=nSeq%>" width="150">

Posted by pressrain
,