<!--#include file="../checkLoginPhone.asp"-->
<!--#include file="../SQLconn.asp"-->
<% 
	dim strID
	strId=request("id")
	sid=request("sid")
	dim fjsql
	dim fjrs
	dim strfilename
	fjsql="select * from gonggaoSeeFile   where  id='"&strId& "' and  sID='"&sid& "'"
	Set fjrs= Server.CreateObject("ADODB.Recordset")
	fjrs.open fjsql,conn,1,1
	Response.ContentType = fjrs("fileContentType")
	'Response.AddHeader   "Content-Disposition","attachment;   filename="&fjrs("filename")
	Response.AddHeader   "Content-Disposition","inline;   filename="&fjrs("filename")
	Response.BinaryWrite fjrs("filevalue").getChunk(21212121) 
	fjrs.close
	set fjrs=nothing 
	set conn=nothing 

%>