$content=file_get_contents("http://j.kuaicaile.com/static/jsk3/today.js"); preg_match_all('#{"code":"(.*)"#isU',$content,$arr); preg_match_all('#","game":"jsk3","issue":"(.*)"#isU',$arrx); echo $arrx[1][0]; echo "<br><hr><br>"; echo $qishu=$arr[1][0];