44 lines
1.0 KiB
PHP
Executable File
44 lines
1.0 KiB
PHP
Executable File
<?php
|
|
require_once('fixed/config/go_con.php');
|
|
access(50);
|
|
|
|
require_once $_SERVER['DOCUMENT_ROOT'] . '../../vendor/autoload.php';
|
|
|
|
$bearer = '75eaa5b27208b38b134254444c48bdfa';
|
|
$taqnyt = new TaqnyatSms($bearer);
|
|
|
|
// SYSTEM STATUS
|
|
//$Status = $taqnyt->sendStatus();
|
|
//print $Status;
|
|
|
|
// ACCOUNT BALANCE
|
|
//$balance = $taqnyt->balance();
|
|
//print $balance;
|
|
|
|
// MESSAGE SEND
|
|
//$body = 'hi';
|
|
//$recipients = ['966509033601']; // ['966509033601','966509033601','966509033601']
|
|
//$sender = 'AQDAMY';
|
|
//
|
|
//$message =$taqnyt->sendMsg($body, $recipients, $sender);
|
|
//print $message;
|
|
|
|
// SEND SCHEDULE MESSAGE
|
|
//$body = 'الفرع النسائي وصل
|
|
//https://2u.pw/Fiddm
|
|
//لأنها تستاهل
|
|
//https://2u.pw/kPHRv';
|
|
//$recipients = [
|
|
// '966501210048',
|
|
//]; // ['966509033601','966509033601','966509033601']
|
|
//$sender = 'AQDAMY-AD';
|
|
//$scheduled = date('Y-m-d\TH:i',strtotime('2022-07-21 08:20:00'));
|
|
//$deleteId = 100;
|
|
//
|
|
//$message =$taqnyt->sendMsg($body, $recipients, $sender, $deleteId, $scheduled);
|
|
//print $message;
|
|
|
|
$senders = $taqnyt->senders();
|
|
print $senders;
|
|
|