欧美日韩精品在线,国内精品久久久久久久久,一级毛片恃级毛片直播,清纯唯美亚洲综合欧美色

ASP怎樣可以獲得代碼中第一張圖片地址_ASP教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!

推薦:ASP導(dǎo)出Excel數(shù)據(jù)的四種方法
一、使用OWC 什么是OWC? OWC是office Web Compent的縮寫,即Microsoft的office Web組件,它為在Web中繪制圖形提供了靈活的同時也是最基本的機(jī)制。在一個intranet環(huán)境中,如果可以假設(shè)客

'把pattern 又修改了下
'code要檢測的代碼
'http://m.dounai2.com/asp.asp
'leixing html 或者ubb
'nopic 代碼沒有圖片時默認(rèn)值
function toppic(code,leixing,nopic)
set regex = new regexp
regex.ignorecase = true
regex.global = true
if leixing = "html" then
regex.pattern = "<img(.*?)src\s?\=\s?(\u0022?)([^\u0022\/>] )"
else
regex.pattern = "\[img\]([^\u005B] )“
end if
set matches = regex.execute(code)
if regex.test(code) then
if leixing = "html" then
toppic = matches(0).submatches(3)
else
toppic = matches(0).submatches(0)
end if
else
toppic = nopic
end if
end function
code1 = "<img src=""1.gif"">"
pic = toppic(code1,"html","nopic.gif")
response.Write pic

分享:ASP進(jìn)階:用asp做的簡單搜索引擎代碼
下面是庫中URLINDEX表:URL和Keywords字段分別添加了索引. URL 文本 (索引:有(無重復(fù))) Title 文本 Description 文本 Summary

來源:模板無憂//所屬分類:ASP教程/更新時間:2008-08-22
相關(guān)ASP教程