标签:
chrome另存以后读取json文件 导入迅雷下载 含css背景图
<?php $filename = "aa.js"; $handle = fopen($filename, "r"); $contents = fread($handle, filesize ($filename)); fclose($handle); $arr = json_decode($contents,true); echo $n = count($arr); foreach ($arr[‘log‘][‘entries‘] as $key => $value) { $b = $arr[‘log‘][‘entries‘][$key]; echo $b[‘request‘][‘url‘].‘<br>‘; } ?>
标签:
原文地址:http://www.cnblogs.com/balyd/p/5243365.html