/** *POST URL */ function posturl($URL,$data) { $ch = curl_init(); // 创建一个新cURL资源 curl_setopt($ch,CURLOPT_URL,$URL); curl_setopt($ch,CURLOPT_TIMEOUT,60); curl_setopt($ch,CURLOPT_HEADER, 0); curl_setopt($ch,CURLOPT_RETURNTRANSFER ,1); curl_setopt($ch,…