Time of Update: 2017-01-13
<%Dim Rs,SQL,HtmlContentDim ChannelRootDir,strInstallDir,strIndexNameDim flashid,downid,showurl,ErrMsgDim strTitle,strAddress,addTimeDim AllHits,Introduce,filesizeDim HtmlFileUrl,HtmlFileName,strUrlNewasp.ReadChannel(ChannelID)ChannelRootDir =
Time of Update: 2017-01-13
asp讀取圖片或flash高寬,Function GetFlashAndPic(url,height,width) Dim sExtName,ExtName,strTemp sExtName = Split(url, ".") ExtName = sExtName(UBound(sExtName)) If LCase(ExtName) = "swf" Then strTemp = "&
Time of Update: 2017-01-13
'================================================'作 用:檢查組件是否已經安裝'參 數:strClassString ----組件名'傳回值:True ----已經安裝' False ----沒有安裝'================================================Function
Time of Update: 2017-01-13
Private Function ContentPagination(strContent) Dim ContentLen, maxperpage, Paginate Dim arrContent, TempContent, i On Error Resume Next strContent = Newasp.ReadContent(strContent) strContent = Replace(strContent, "
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
< %dim total(7,1)total(1,0)="中國經營報"total(2,0)="招聘網"total(3,0)="51Job"total(4,0)="新民晚報"total(5,0)="新聞晚報"total(6,0)="南方周末"total(7,0)="羊城晚報"total(1,1)=200total(2,1)=1200total(3,1)=
Time of Update: 2017-01-13
其實這種方法來限制字數的話還有缺陷的,就是在截取中,英文混合的話,英文也按一個字截取了下面是經過改良以後的函數,供樓主參考調用方法不變function Setlen(str,howlong)if str="" then leftstr="" exit functionend ifdim l,t,c,
Time of Update: 2017-01-13
<!--#include file="md5.asp"--> <% '************************************************** '* 作者:awaysrain(絕對零度) * '* 完成時間:2003-10-10 * '*
Time of Update: 2017-01-13
上段時間我寫了一個php的長文章分頁代碼用到的explode來進行分割實現的,今天我們就來講講asp文章分頁代碼以及長文章分頁和asp長文章分頁方法. Function c2u(myText) Dim i c2u = "" For i = 1 to Len(myText) c2u = c2u & "&#x" & Hex(AscW(Mid(myText, i, 1))) & ";"
Time of Update: 2017-01-13
<html> <head> <title>線上翻譯</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <% 'on error resume next ' 如果網速很慢的話,可以調整以下時間。單位秒
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
<%Dim sPath, oFso, oFout, FilesPath = "plugin/"Set oFso = Server.CreateObject("Scripting.FileSystemObject")Set oFout = oFso.GetFolder(Server.Mappath(sPath)) Response.Write "<table border='1'
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
asp多級聯動菜單,多級聯動菜單<!--#include file="adoconn.asp"--><script>var m_oXMLDoc = new ActiveXObject("Microsoft.XMLDOM");var m_sBaseSrc = "Tree.asp?ParentCode=";function BindSelect( strXMLSrc , objSelectName,
Time of Update: 2017-01-13
asp驗證碼源碼調用方法,是b.htm 頁面 <form name="form1"> <Input type="text" name="a"><br> <input type="text" name="b"><br><span><img id="yzm"
Time of Update: 2017-01-13
好了,我們來來看看提交查詢頁面下面給看我們處理網域名稱是否註冊的代碼.<style> body {font-size:12px;}</style><%On Error Resume NextServer.ScriptTimeOut=9999999Function getHTTPPage(Path) t = GetBody(Path)
Time of Update: 2017-01-13
asp防重新整理函數Sub PreventRefresh() Dim RefreshTime,isRefresh RefreshTime = 10 '防止重新整理時間,單位(秒) isRefresh = 1 '是否使用防重新整理功能,0=否,1=是 If isRefresh = 1 Then If (Not IsEmpty(Session("RefreshTime&
Time of Update: 2017-01-13
'=================================================='函數名:GetArray'作 用:提取連結地址,以$Array$分隔'參 數:ConStr ------提取地址的原字元'參 數:StartStr ------開始字串'參 數:OverStr ------結束字串'參 數:IncluL ------是否包含StartStr'參 數:IncluR ------是否包含OverStr'===============================
Time of Update: 2017-01-13
windows 2003 IIS6.0無法執行ASP問題解決方案啟用Asp支援 Windows Server 2003 預設安裝,是不安裝 IIS 6 的,需要另外安裝。安裝完 IIS 6,還需要單獨開啟對於 ASP
Time of Update: 2017-01-13
查看系統日誌出現iis 伺服器無法載入應用程式 '/lm/w3svc/1/root/test'。錯誤是 '沒有註冊類別microsoft windows xp [版本 5.1.2600](c) 著作權 1985-2001 microsoft corp.c:documents and settingsadministrator>cd %windir%system32inetsrvc:windowssystem32inetsrv>rundll32