日期:2014-05-17 浏览次数:20452 次
$.getJSON("http://rate.taobao.com/member_rate.htm?content=1&result=0&from=rate&user_id=281461646&identity=1&rater=0&direction=0&timeLine=-7&callback=shop_rate_list", function(json){ alert("JSON Data: " + json); });
------解决方案--------------------
$con= file_get_contents($url); $con= preg_replace('/shop_rate_list\((.*)\)/s','$1',$con); print_r(json_decode(iconv('gbk','utf-8',$con),true));