php抓取页面部分内容
1、<?phpecho "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />";//防止中文乱码$url = "http://www.aizhan.com/cha/www.qihong.com/"; //要抓取的页面$contents = file_get_contents($url); //抓取页面所有内容存入字符串?>

1、<?phpecho "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />";//防止中文乱码$url = "http://www.aizhan.com/cha/www.qihong.com/"; //要抓取的页面$contents = file_get_contents($url); //抓取页面所有内容存入字符串?>