100分 求专家帮我用小偷程序获取一个网页内容 我用file_get_contents 和简单的curl试过了 无法获取 请高手指点下http://video.shishicai.cn/haoma/cqssc/list/120.aspx这个是地址 只要获取到最新一期的开奖号码即可 谢谢了在线刷新等 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 人家做了防抓取,你就别吊死在一棵树上了,帮你找了个能抓的地址http://life.baifubao.com/caipiao/0/query/0?lot=ssc&c=859正则就不帮你写了,自己动手 哥们这个地址没用的啊 延迟好几分钟的能帮忙看下http://video.shishicai.cn/haoma/cqssc/list/120.aspx这个地址吗 http://jk.trade.500wan.com/ssc/ 这个站也可以 麻烦各位大神看看 header('Content-Type: text/html; charset=UTF-8');$url = 'http://video.shishicai.cn/haoma/cqssc/list/120.aspx';$ch = curl_init($url);curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_HEADER, 0);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_REFERER, 'http://video.shishicai.cn');curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)");$response = curl_exec($ch);curl_close($ch);preg_match('/var listIssue =(.*}]);/isU', $response, $match);$json = trim($match[1]);$array = json_decode($json, true);foreach ($array as $value) { echo "<pre>{$value['BonusNumberString']}</pre>";}输出结果如下,第一个就是最新的,自己取吧3,4,2,1,5|2|57,0,5,3,2|2|53,4,0,1,5|2|54,0,7,8,5|2|54,6,0,3,9|2|59,5,4,4,6|2|58,3,8,7,6|2|52,0,8,7,8|2|56,6,5,9,6|2|51,9,7,3,1|2|51,7,7,4,3|2|51,8,3,0,4|2|58,1,0,8,3|2|52,7,1,9,6|2|51,8,6,2,2|2|51,1,0,9,8|2|51,2,0,0,7|2|51,8,4,8,5|2|56,6,8,6,4|2|5 请问如何保存其他页面post来的wav二进制流 送域名+送网页空间+送企业邮局/送SQL数据库 input框内输入内容,怎么实现回车后自动搜索数据库返回其他input框的内容 怎样从数据库中按公式排列 面向对象里面是不是没有递归? 谁作过旅游网站 能不能用正则把 a,b,c变成'a','b','c',并能把a地方如果含有',能进行转义? help me!!下面的程序是dbconn.php的源代码?帮我看看 如何生成随机言广告 加载模块是老是不行 管理权限 不显示删除回复显示所有回复显示星级回复显示得分回复 怎样设定iis执行时间 我上传文件到网站,五分钟就断了
正则就不帮你写了,自己动手
这个地址吗
header('Content-Type: text/html; charset=UTF-8');
$url = 'http://video.shishicai.cn/haoma/cqssc/list/120.aspx';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_REFERER, 'http://video.shishicai.cn');
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)");
$response = curl_exec($ch);
curl_close($ch);
preg_match('/var listIssue =(.*}]);/isU', $response, $match);
$json = trim($match[1]);
$array = json_decode($json, true);
foreach ($array as $value) {
echo "<pre>{$value['BonusNumberString']}</pre>";
}
输出结果如下,第一个就是最新的,自己取吧3,4,2,1,5|2|5
7,0,5,3,2|2|5
3,4,0,1,5|2|5
4,0,7,8,5|2|5
4,6,0,3,9|2|5
9,5,4,4,6|2|5
8,3,8,7,6|2|5
2,0,8,7,8|2|5
6,6,5,9,6|2|5
1,9,7,3,1|2|5
1,7,7,4,3|2|5
1,8,3,0,4|2|5
8,1,0,8,3|2|5
2,7,1,9,6|2|5
1,8,6,2,2|2|5
1,1,0,9,8|2|5
1,2,0,0,7|2|5
1,8,4,8,5|2|5
6,6,8,6,4|2|5