how to integrate bulk sms api into your application using php language?

2
How to integrate BULK SMS API into your application using PHP Language?? HTTP API is most popular API. It is allows you to integrate SMS services into your own System/application for better functionality required by you. Benefits of using HTTP API: HTTP API can send more than 100 messages at a time via any kind of application/portal. You can check the balance of your account with expiry date via your application/portal. You can check the Delivery status of your single or group SMS everything in a single places without login your web interface. Unicode API allows you to send SMS in different languages (Tamil, Hindi, Telugu, Malayalam, Guajarati, and Marathi). How does it work? A request to the API is done by calling a URL with some required parameters (User Name, Password, Sender ID, Mobile Number, Message).When a request is made, the API along with all the parameters send to SMS Gateway server and SMS Gateway server process the request and generate response for the particular request immediately. KAPSYSTEM provides the Bulk SMS Gateway with HTTP API(HTTP) to be integrated in different programming language asp.net, php, Java

Upload: kapsystem-bulk-sms-service-provider-company

Post on 02-Jul-2015

249 views

Category:

Technology


1 download

DESCRIPTION

How to integrate BULK SMS API into your application using PHP Language? Bulk SMS Technology

TRANSCRIPT

Page 1: How to integrate BULK SMS API into your application using PHP Language?

How to integrate BULK SMS API into your application

using PHP Language??

HTTP API is most popular API. It is allows you to integrate SMS services into your own

System/application for better functionality required by you.

Benefits of using HTTP API:

HTTP API can send more than 100 messages at a time via any kind of application/portal.

You can check the balance of your account with expiry date via your application/portal.

You can check the Delivery status of your single or group SMS everything in a single places

without login your web interface.

Unicode API allows you to send SMS in different languages (Tamil, Hindi, Telugu, Malayalam,

Guajarati, and Marathi).

How does it work?

A request to the API is done by calling a URL with some required parameters (User Name,

Password, Sender ID, Mobile Number, Message).When a request is made, the API along with

all the parameters send to SMS Gateway server and SMS Gateway server process the

request and generate response for the particular request immediately.

KAPSYSTEM provides the Bulk SMS Gateway with HTTP API(HTTP) to be integrated in

different programming language asp.net, php, Java

Page 2: How to integrate BULK SMS API into your application using PHP Language?

Sample code for php:

<?php

$workingkey=”xxxxxxxxxxxx”;

$dest_MobileNo=”xxxxxxxxx”;

$Message=”Test Message via http api”;

$SenderID=”xxxxxx”;

$sms_url=sprintf(“http://alerts.kapsystem.com/api/web2sms.php?workingkey=%s&to=%s&

sender=%s&message=%s”, $workingkey, $dest_MobileNo,$SenderID,

urlencode($Message));

openurl($sms_url);

function openurl($url)

{

$ch=curl_init();

curl_setopt($ch,CURLOPT_URL,$url);

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch,CURLOPT_POSTFIELDS,$postvars);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch,CURLOPT_TIMEOUT,

’3′); $content = trim(curl_exec($ch)); curl_close($ch);

}

?>

Get more details on http://kapsystem.com/bulksms/index.htm

Need Demo click on http://kapsystem.com/freedemo.php

For further assistance mail to [email protected] or call on +91 97380 10000