Example #1
0
function getreportegoi($lastsmsid)
{
    //ini_set('max_execution_time', 90);
    $params = array('apikey' => $_SESSION['apikey_sms'], 'campaign' => $lastsmsid);
    $client = new SoapClient('http://api.e-goi.com/v2/soap.php?wsdl');
    $resultreport = $client->getReport($params);
    return $resultreport;
}