/bulk-sms-service/php-example/

Atomic SMS Sender

Bulk SMS Service

Sample Atomic SMS Sender API use with PHP

We are offering connection to our SMS gateway free of charge. SMS gateway usage helps to automate bulk sms sending and integrate Atomic SMS Sender service into various projects.
Implementation of the required code and integrating it with our system is very easy if you have just basic PHP knowledge.

See below the source code of the PHP implementation:

 
 
<?php
$src = '<?xml version="1.0" encoding="UTF-8"?>
<SMS>
<operations>
<operation>SEND</operation>
</operations>
<authentification>
<username></username>
<password></password>
</authentification>
<message>
<sender>SMS</sender>
<text>Test message [UTF-8]</text>
</message>
<numbers>
<number>380972920000</number>
</numbers>
</SMS>';

$Curl = curl_init();
$CurlOptions = array(
CURLOPT_URL=>'https://api.atompark.com/members/sms/xml.php',
CURLOPT_FOLLOWLOCATION=>false,
CURLOPT_POST=>true,
CURLOPT_HEADER=>false,
CURLOPT_RETURNTRANSFER=>true,
CURLOPT_CONNECTTIMEOUT=>15,
CURLOPT_TIMEOUT=>100,
CURLOPT_POSTFIELDS=>array('XML'=>$src),
);
curl_setopt_array($Curl, $CurlOptions);
if(false === ($Result = curl_exec($Curl))) {
throw new Exception('Http request failed');
}

curl_close($Curl);

echo $Result;
?>
 

SMS messaging price is as low as the price stated in Atomic SMS Sender service.

If you still have any questions concerning integration with our sms gateway, please do not hesitate to contact our support team, we will be glad to help you.

I had tried a few different mass sms services before i found Atomic SMS Sender, i found it easy to use, it worked perfectly and got the job done quickly at a great price compared to others i have used, so i would definitely recommend this service Read more »
Richard James
Icontact.ae
Very convenient service for bulk sms sending. There is no need for the cell phone – thаt is important to me. Good product! Read more »
Alexander
Euromed-D
Start using Atomic SMS Sender today for free!

 

Activate your account and get 10 SMS messages to try our service for free.

Click the "download" button to download software and then click the "save file" button when prompted.