$apiuser, 'password' => $apipassword, 'api_id' => $apiid, 'to' => $phone, 'text' => $body ]); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $clickatell = curl_exec($ch); #log the attempt to help troubleshoot logModuleCall("myrskpvs","customdevkit-sms",$url,$clickatell); ?>