asp.net 今天的問題是,關於在ASP.NET的環境下提交表單。我和ASP一樣編寫了一個按鈕觸發的事件,然後使用formname.submit來進行submit。結果提示:BC30451: Name 'form1' is not declared.但我在後面的表單裡明明是定義了啊,原始碼如下:<html><head><meta http-equiv="Content-Type" content=
擷取頁面的HTML<script> var oXmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); oXmlHttp.open("GET","http://www.163.com", false); oXmlHttp.send() var oStream = new ActiveXObject("ADODB.Stream");
程式 登陸頁login.asp:<%if request.Form.count>0 then session("username")=request("username")application(session("username"))=session.SessionIDresponse.Redirect("index.asp")end
這是動網論壇上一個朋友寫的<% imgpath="default_22.gif" set pp=new imgInfo w = pp.imgW(server.mappath(imgpath)) h = pp.imgH(server.mappath(imgpath)) set pp=nothing response.write "<img src='"&imgpath&"' border=0><br>
安全 ASP漏洞及安全建議 ( 小 鳥 ) 一 前言 Microsoft Active Server Pages(ASP)是伺服器端指令碼編寫環境,使用它可以建立和運行動態、互動的 Web 服務器應用程式。使用 ASP 可以組合 HTML 頁 、指令碼命令和 ActiveX 組件以建立互動的 Web 頁和基於 Web 的功能強大的應用程式。
'----------遠程擷取內容,並將內容存在本地電腦上,包括任何檔案!----------'---------------利用xmlhttp和adodb.stream,酷!絕對原創!-----------------'On Error Resume Next'Set the content type to the specific type that you are sending.'Response.ContentType = "IMAGE/JPEG"'-------