$token); $result=sendPost("https://center.ghink.net/v1/interface/api.php?type=authTask",$data); $result=json_decode($result,true); if($result["status"]=="success"){ return $result["tid"]; }else{ return false; } } }