Briz
Each number should be new line = '\n' separated.
Best,
Pete
Tried to send the test to both users only the first phone number gets the message?
Is callfire having problems? or do I have some funky restriction where I can only send 1 sms at a time?
<?php
$url = 'https://www.callfire.com/cloud/1/sms/send';
$params = array(
'apikey' => 'XXXX',
'message' => 'Tornado Warning Test',
'numbers' => '7312345555,7314995555',
);
$http = curl_init($url);
curl_setopt($http, CURLOPT_POST, true);
$query = http_build_query($params);
curl_setopt($http, CURLOPT_POSTFIELDS, $query);
$header = array('Content-Type: application/x-www-form-urlencoded');
curl_setopt($http, CURLOPT_HTTPHEADER, $header);
curl_setopt($http, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($http, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($http, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($http);
$error = curl_error($http);
if($error != null)
{
echo "Error: $error\n";
throw new Exception($error);
}