curl_setopt GET的方法

$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 );
原文地址:https://www.cnblogs.com/jthb/p/3445301.html