Send SMS using CodeIgniter

Send SMS using CodeIgniter

$url = 'http://smsgateways.com/api/sendmsg.php?' . http_build_query([
'user' => '',
'pass' => '',
'sender' => '',
'phone' => '',
'text' => '',
'priority' => 'ndnd',
'stype' => 'normal'
]);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);


smarttips

Leave a Reply

Advertisment ad adsense adlogger