$ch = curl_init("http://www.173mobi.tw/api/exposure/getBillingRecordListById?uid=18") ; curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) ; curl_setopt($ch, CURLOPT_BINARYTRANSFER, true) ; $output = curl_exec($ch) ; print_r($output); curl_close( $ch );