求教了PHP小偷程序,如何得到这个页面中的标题并且重复输出 本帖最后由 qqsd126 于 2009-12-13 14:18:13 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?php $url="http://taoke.alimama.com/spreader/search_auction.htm?c=&mid=1&q=aaa&cat=0&od=1&conts=&conte=&hs=&he=&cs=&ce=&rs=&re=&loc=";$fp = file_get_contents("$url");preg_match_all ("#\<(a)\s*(class=)\"(blue)\_(14)\"[^>]*\>[^<]*\<\/(a)\>#",$fp,$titleList, PREG_PATTERN_ORDER);print_r($titleList);?> 这个我试过了 遍历时去掉html标签就ok了 正则 取得HTML标题的标签内容 php如何上传文件 CMS页面传值的的问题!!困了我好久了。 php中如何模拟SQL输出特定内容? 新浪微博API开发--获取视频微博后如果取到视频缩略图 Dompdf 在window下使用問題 有关jpgraph的问题 smarty 怎么取字符串 xxxxxxxxx.gif的后3个字符 使用PHP,怎么制作雷达图?有没有类似这样的开源类的,谢谢 window+nginx+php-cgi,怎么配置php解析非阻塞队列式解析php? 读淘宝订单API问题 session.cookie_domain session怎么设置多个域名 Javascript的数组传值
$url="http://taoke.alimama.com/spreader/search_auction.htm?c=&mid=1&q=aaa&cat=0&od=1&conts=&conte=&hs=&he=&cs=&ce=&rs=&re=&loc=";
$fp = file_get_contents("$url");
preg_match_all ("#\<(a)\s*(class=)\"(blue)\_(14)\"[^>]*\>[^<]*\<\/(a)\>#",$fp,$titleList, PREG_PATTERN_ORDER);
print_r($titleList);
?> 这个我试过了 遍历时去掉html标签就ok了