Free and immediate reminder Free and immediate reminder
04.13.41.50.70 (appel gratuit depuis un fixe)

PHP SMS API source code

Configuration file


$user_login = '************@********';
$api_key = '****************'; 
$sms_recipients = array('+33600000000');
$sms_text = 'test text ' . date('Y-m-d H:i:s');
$sms_type = SMS_PREMIUM; // ou encore SMS_STANDARD,SMS_MONDE
$sms_mode = INSTANTANE; // ou encore DIFFERE
$sms_sender = 'Octopush';

Main file


$sms = new SMS();

$sms->set_user_login($user_login);
$sms->set_api_key($api_key);
$sms->set_sms_mode($sms_mode);
$sms->set_sms_text($sms_text);
$sms->set_sms_recipients($sms_recipients);
$sms->set_sms_type($sms_type);
$sms->set_sms_sender($sms_sender);
$sms->set_sms_request_id(uniqid();
$xml = $sms->send();

Main purpose

Click here Download our archive containing all source files.