What's wrong with this code is why I can't parse json:
$ch = curl_init("https://tui.taobao.com/recommend?itemid=528936847753&count=20&callback=jsonp293&appid=2338"); curl_setopt($ch, CURLOPT_USERAGENT, 'IE20'); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $page=curl_exec($ch); curl_close($ch); $json = substr($page, 62, -119); $json = json_decode($json,true); print_r($json);