寫的很簡單,只是實現了功能 <% Function formaturl(yes) If mid(yes,5,1)<>"" then yes1 = left(yes,3) yes2 = right(yes,cint(len(yes))-3) formaturl = yes1 & "." & yes2 else formaturl=yes end if End Function '取得遠程網頁二進位原始碼 Function getBoy(url)
複製代碼 代碼如下:Function makegroup(teams() As String) As String '函數功能:對teams數組中的32支球隊進行隨機分組.(注:teams數組下標從0開始) '函數的變數定義. '顯示變數聲明是一個好習慣. Dim tvar As Integer, returnstr As String, tmove As Integer, temp As Integer '初始化隨機數產生器實現真正的隨機性.
The ASPError Object has zero (0) Methods, nine (9) Properties, zero (0) Events, and zero (0) Collections. AspCodeAspDescriptionCategoryColumnDescriptionFileLineNumberSourceThe way you access the ASPError Properties is with a Server Method. Yeah, I
Below we will attempt to access data from a database without knowing the column names. Clearly the best way to utilize data in your database is to keep track of your schema. Schema is the layout of data in your database. The concept is well beyond
此程式只能將首頁轉成靜態!(真對一個頁面) 將createhtml.asp檔案上傳到 你的空間存放首頁檔案(index.asp)的目錄下錄入網址直接開啟createhtml.asp接提示操作就可以了如果沒有轉成功可將createhtml.asp更名試一下(如:改成z.asp)錄入網址直接開啟z.asp 本檔案可以隨便改名不影響運行複製代碼 代碼如下:<% if request.QueryString("action")="ok" then dim kk,url,http,reurl
以下是源碼,請命名為.ASP檔案. 複製代碼 代碼如下:<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <% if request("action") = "1" then word = request("word") url = request("url") if word <> "" then getCategories() if url
以下是源碼,請命名為.asp檔案 複製代碼 代碼如下:<% bpn = request("bpn") if(bpn = "") then bpn = "0" end if intbpn = cint(bpn) if request("action") = "1" then word = request("word") url = request("url") if word <> "" then getCategories() if
複製代碼 代碼如下:<% '//---- 輸入字串並結束當前頁面(調試用),函數可以也命名為Debug ----// Function Trace(s) On Error Resume Next Response.Write(s & vbCrLf) Response.End() End Function %> 下面的是個修改升級版,還在測試中... 複製代碼 代碼如下:<% '//---- 輸入字串並結束當前頁面(調試用) -