$h = curl_init(); curl_setopt($h, CURLOPT_URL,'www.scaunews_background.net/api/data/msgdetail'); curl_setopt($h, CURLOPT_RETURNTRANSFER,1); curl_setopt($h, CURLOPT_POST, 1); curl_setopt($h, CURLOPT_POSTFIELDS, 'id=208'); $i = curl_exec($h); echo $i; curl_close($h);
2017-11-050个赞