| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 447 人关注过本帖
标题:求助
只看楼主 加入收藏
tx5034
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-10-6
收藏
 问题点数:0 回复次数:0 
求助
<%
url=StarUrl&"files/article/html/"&request.querystring("id")
Html=GetPage(url)
title=GetContent(Html,"<title>","</title>",0)
title=replace(title,"玄幻小说阅读网","98小说书库")
ids=GetContent(Html,"/files/article/attachment/","/",0)
page=GetContent(Html,"text/css"" media=""all""  />","</head>",0)
page=replace(page,"= ""","= ""html.asp?id="&id&"/")
Pictures=GetContent(Html,"<head>","</html>",0)
Pictures=replace(Pictures,"<a href=""","<a href=""html.asp?id="&ids&"/")
%>



所取的目标地址是/files/article/attachment/5/5538/1145770/775920.gif
但我只需要/5/5538/但实际用ids=GetContent(Html,"/files/article/attachment/","/",0)这个只取了]/5/一个哪怎么办呢


注/files/article/attachment/5/5538/1145770/775920.gif是个变化地址/5/5538/也要跟着变的
2008-10-06 14:39
快速回复:求助
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.028472 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved