高手啊!我想从数据库读取二进制视频文件但读出的文件是乱码或者是下载文件怎么办啊!
<!--#include file= "conn.asp "-->
<%
id=request( "id ")
set rs=server.createobject( "ADODB.recordset ")
sql= "select * from pic where id= " & id
rs.open sql,conn,1,1
Response.ContentType = "video/* "
Response.BinaryWrite rs( "big ")
%>
<p> <span style= "cursor:hand " onclick= "document.MediaPlayer1.filename= ' <%Response.BinaryWrite rs( "big ")%> ' "> <font color= "#CC3300 "> 播放 </font> </span> </p>
<object classid= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 " id= "MediaPlayer1 " width= "452 " height= "352 ">
<param name= "AudioStream " value= "-1 " />
<param name= "AutoSize " value= "-1 " />
<param name= "AutoStart " value= "-1 " />
<param name= "AnimationAtStart " value= "-1 " />
<param name= "AllowScan " value= "-1 " />
<param name= "AllowChangeDisplaySize " value= "-1 " />
<param name= "AutoRewind " value= "0 " />
<param name= "Balance " value= "0 " />
<param name= "BaseURL " value />
<param name= "BufferingTime " value= "15 " />
<param name= "CaptioningID " value />
<param name= "ClickToPlay " value= "-1 " />
<param name= "CursorType " value= "0 " />
<param name= "CurrentPosition "