上次我發過個【asp中,如何在首頁顯示新聞內容中的第一張圖片】,糾結的一個事情出現了,我將此調用的數據單獨放一個頁面測試時,是可以讀取的【...<img border="0" src=<%=RegExp_Execute(regstr,rs("content"))%> width="200" height="200" />...】。然后整體放網站去時,這個圖片就讀不出來了。 附: Function RegExp_Execute(patrn, strng) Dim regEx, Match, Matches,values Set regEx = New RegExp regEx.Pattern = patrn regEx.IgnoreCase = true regEx.Global = True For Each Match in Matches values=Match.Value Next RegExp_Execute = values End Function
- 2 回答
- 0 關注
- 909 瀏覽
添加回答
舉報
0/150
提交
取消