<?php
include_once('class.BulkSms.php');
$bulkSms = new BulkSms( 'user', 'user', '351' );
if( $bulkSms->sendSms("test message", "961234567") ){
echo "Message Sent: <br>
Status Code: ".$bulkSms->status_code ." <br>
Status Description: ".$bulkSms->status_description."<br><br>";
}
else{
echo "Error Sending Message: <br>
Status Code: ".$bulkSms->status_code ." <br>
Status Description: ".$bulkSms->status_description."<br><br>";
}
echo "Credits Remaining: ".$bulkSms->getCredits();
?>
|