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
<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
<%h_Href = http://down.111cn.neth_Name = "第五吧導航站"'Go.asp 頁面Sub Frame_Go() If Request("Key") = "" Then Response.Redirect "./Index.htm"End Sub%><%Url="http://weather.265.com/weather/"&
Time of Update: 2017-01-13
Function GetHttpPage(HttpUrl) If IsNull(HttpUrl)=True Or HttpUrl="$False$" Then GetHttpPage="$False$" Exit Function End If Dim
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
代碼如下 複製代碼 function showpage(sto,allpage,page) '根據總頁數與當前頁數顯示頁數 dim first,last page=max(min(page,allpage),1) if (allpage>1)
Time of Update: 2017-01-13
user_agent=Request.ServerVariables("HTTP_USER_AGENT")http_reffer=Request.ServerVariables("HTTP_REFERER")server_name=Request.ServerVariables("SERVER_NAME")'檢查目前使用者是否是蜘蛛人function
Time of Update: 2017-01-13
此搜尋工具可以讓您將搜尋字詞或片語在您的網站,以及由此產生的網頁將顯示您的訪客網頁的標題和一個指向它的連結。 你只需要包括波紋管的形式在您的網頁:html頁面.<form method="POST" action="/cgi-bin/searchfiles.asp"> <table border=0 cellpadding=5 bgcolor=AAAAAA><tr> <td align=center>
Time of Update: 2017-01-13
<%' 要取關鍵字的網頁RemoteURL = "http://111cn.net " ' 建立 xmlhttp串連Set objXML = CreateObject("Microsoft.XMLHTTP") objXML.Open "get", RemoteURL, False objXML.Send ' 取得返回資料ResponsePage = objXML.responseTextSet objXML =
Time of Update: 2017-01-13
My Code很簡單<% '------------------------------------------------------------'使用表單提交產生靜態首頁的代碼'確保你的空間支援FSO,且首頁代碼內容較少'------------------------------------------------------------dim contentcontent=Trim(Request.Form("content"))if
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.
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