摘要: 1 function url_get_content($url=''){ 2 $ch = curl_init(); 3 $timeout = 100; 4 $browser = 'Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefo... 阅读全文
posted @ 2015-04-13 22:26 敲着键盘看风景 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 1:要匹配的html 1 2 3 4 5 无标题文档 6 7 8 9 10 铝板11 12 7075铝板13 7A12T4铝板14 7A04铝板15 ... 阅读全文
posted @ 2015-04-13 22:23 敲着键盘看风景 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1 $reg17 = '/>公司介绍([\S\s*]+?)/';2 3 $this->data['introduction'] = preg_replace("''is","",$this->data['introduction']);4 5 $this->data['introduction']=... 阅读全文
posted @ 2015-04-13 22:19 敲着键盘看风景 阅读(272) 评论(0) 推荐(0) 编辑