Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php send to message to mobile number using springedge

$message = urlencode('Hi, this is a test message');
$sender = 'SEDEMO'; 
$apikey = '65ats54oxxxxxxxxxxxxxxxxxxxx';
$baseurl = 'http://web.springedge.com/api/web/send?apikey='.$apikey;

$url = $baseurl.'&sender='.$sender.'&to='.$mobileno.'&message='.$message;    
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
Source by www.springedge.com #
 
PREVIOUS NEXT
Tagged: #php #send #message #mobile #number #springedge
ADD COMMENT
Topic
Name
8+4 =