名位老師你們好: 敝下用ASP語言寫了一段小程序:程序的功能是在 p要顯示一張圖片格式是:GIF,圖片的處理是在 p程序中處理的,經過運行后圖片就是顯示不出來這是為什么呢?煩請各位賜教謝謝,我的EMAIL:t 9@ 或登錄我的網站: ,在我的留言板內留言。 p程序如下:<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " "><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>無標題文檔</title></head><body> <img src=" p?id=14"> <% '<EMBED src=" p" width=468 height=60 autostart="true" align="middle" name=player1 type=audio/x-pn-realaudio-plugin border="0" controls="ControlPanel,StatusBar"></EMBED> %></body></html> p程序如下:<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " "><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>無標題文檔</title></head><body><% dim conngraph,filepath,rec,str set connGraph= eateobject(" nnection") filepath= ppath(" b") connstr="provider= t.OLEDB.4.0;data source="&filepath connGraph.open connstr set rec= eateobject(" cordset") str="select*from imgb where id="&trim(request("id")) rec.open str,connGraph,1,1Response.ContentType="image/gif" Response.BinaryWrite rec("img1").getChunk( ) ose set rec=nothing set connGraph=nothing %> </body></html>
熱心網友
字庫缺少東西