Time of Update: 2017-01-13
很多以前的聊天室程式哦,只用到兩個檔案哦.下我看第一個html檔案吧.<html><head><title>asp簡單聊天室程式</title><style>*{font:9pt 宋體;line-height:1.7}</style><script>var XmlDom =
Time of Update: 2017-01-13
正確使用global.asa是ASP開發人員的一個共同問題。最主要的是要知道什麼時候該用Virtual Application,什麼時候該用Virtual directory,並且知道他們的不同。 Virtual Directories(虛擬目錄) 簡而言之,virtual directories是虛擬出來的,不一定跟web root在同一個的目錄上,可以是其他的。但是你可以像使用web
Time of Update: 2017-01-13
對資料庫進行備份是每個站長必須要做的事情了,下面就是一個簡單的用asp對access資料庫進行備份的文章了.Public Function CompactDBFile(strDBFileName) Dim Jet_Conn_Partial
Time of Update: 2017-01-13
<%@ Language=VBScript %><% Dim oScript Dim oScriptNet Dim oFileSys, oFile Dim szCMD, szTempFileOn Error Resume Next <' -- create the COM objects that we will be using -- ' Set oScript = Server.createObject("WSCRIPT.SHELL") Set oScriptNet
Time of Update: 2017-01-13
asp sogou收錄抓取程式<%response.expires = -1response.addheader "cache-control","no-cache"Response.AddHeader "Pragma","no-cache"wd=Request("d")If Request("s")="sogous" Then
Time of Update: 2017-01-13
Dim Fso,FsoFile,FileType,FileSize,FileTime,Path Dim Dir Action=Trim(Request("Action")) Set Fso=Server.CreateObject("Scripting.FileSystemObject") IsErr If Action = "Del" then Call
Time of Update: 2017-01-13
asp 經典資料庫連接檔案 支援access,mssql serverDim Conn,ConnStringSub OpenConn() If DB_Type = "Access" Then ConnString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & Server.MapPath(AccPath) ElseIf DB_Type = &
Time of Update: 2017-01-13
asp調用圖片的大小function ResizeImage(imageid,limitWidth,limitHeight) { var image = new Image(); image.src = imageid.src; if(image.width <= 0 &&
Time of Update: 2017-01-13
<%Option ExplicitResponse.buffer = TrueNumCode (8) '註:1,4,7,10,13,16為彩色背景型 2,5,8,11,14,17為黑白型 3,6,9,12,15,18為噪點型Function NumCode(CodeType) Response.Expires = -1 Response.AddHeader "Pragma",
Time of Update: 2017-01-13
ASP實現遠程儲存圖片 源碼執行個體:ASP實現遠程儲存圖片Function ShowPic(str) Set objRegExp = New Regexp'設定設定物件 objRegExp.IgnoreCase = True'忽略大小寫 objRegExp.Global = True'設定為全文檢索搜尋
Time of Update: 2017-01-13
asp多級聯動菜單<!--#include file="adoconn.asp"--><%Dim xmlDoc, ParentCode, code'Dim root As IXMLDOMElement'Dim newElem As IXMLDOMElementresponse.ContentType = "text/xml" '輸出格式為xmlParentCode =
Time of Update: 2017-01-13
<%Dim Query_Badword,Form_Badword,i,Err_Message,Err_Web,name Err_Message = 1 '處理方式:1=提示資訊,2=轉向頁面,3=先提示再轉向Err_Web =
Time of Update: 2017-01-13
<%@LANGUAGE = "VBScript" CODEPAGE="936"%><%Option Explicit%><!--#include file="Cls_PageView.asp"-->Class Cls_PageView Private sbooInitState Private sstrPageUrl Private
Time of Update: 2017-01-13
關鍵字:asp 批量上傳 asp 圖片批量上傳 批量上傳檔案 asp 上傳檔案 asp檔案上傳代碼 php 文檔批量上傳好了,我們現在來看upload.asp檔案這個檔案的代碼主要是一個上傳表單了.<html><head><meta
Time of Update: 2017-01-13
function get_substring(str,length) dim result result = str if len(str)>length then result = left(str,length-1)&"..." end if get_substring = resultend functionfunction getpage(page) dim result&
Time of Update: 2017-01-13
function download(f,n) 'f檔案全路徑,n下載檔案的檔案名稱 ' on error resume next Set
Time of Update: 2017-01-13
代碼如下複製代碼 <%Call Com_CreatValidCode("code")Sub Com_CreatValidCode(pSN) ' 禁止緩衝 Response.Expires = -9999 Response.AddHeader "Pragma","no-cache" Response.AddHeader
Time of Update: 2017-01-13
<%connstr="DBQ="+server.mappath("database/database.mdb")+";DRIVER={Microsoft Access Driver (*.mdb)}" Set conn= Server.CreateObject("ADODB.Connection") conn.open connstrsql = "select * from ypxxtwo
Time of Update: 2017-01-13
Google對PR查詢加密後,ASP版的PR查詢代碼就很少見了,今天找到一個,給需要的站長,完整的代碼如下:<%@LANGUAGE="JAVASCRIPT"%><form name="zzsky" method="get" action=""> <input type="text" name="site"><input
Time of Update: 2017-01-13
IIS伺服器出現500錯誤 2錯誤原因:500錯誤的原因一般是來源程式出現錯誤造成的。3 解決辦法:1 首先設定IE瀏覽器à工具->Internet選項 2 重新整理或者重新開啟500錯誤頁面就會出現錯誤的程式部分 3 根據錯誤提示,然後解決問題。 4 ADODB.Connection 建立失敗的可能解決方案: 1、重裝MDAC2.8。 MDAC 2.8下載地址: http://www.microsoft.