SMS2App (SMS-Application Integration)

The documentation here covers basic guide on how you can capture your clients' SMS from our servers and then automatically push/pull it into your application for your own manipulations.

You can employ various programming languages to implement this procedure.

As a basic example, we will use PHP technology to implement a procedure for SMS2App.

The easiest and most effective way is to build a query string using separate variables for:
- the source mobile number,
- the message body of SMS [This can be further programmed or formatted to your own algorithmic functions]

We strongly recommend that you encode your message body of SMS before posting the GET request using the urlencode function.

Once your query string is ready, simply make the $_GET request which will be able to handle the response back from the LekkiHost servers.



include('configuration_file.php');        // For connecting to your database apps

/*** Enforce Date and Time of Your Server, may NOT be Necessary Afterall ***/
$current_date = date('d-M-Y H:i:s') ;

$mobile = mysql_real_escape_string(trim($_REQUEST['mobile']));        // the sender's phone number
$sms = mysql_real_escape_string(trim($_REQUEST['sms']));         // the body of the message

/*** Drop Messages Into My Database ***/
$delivering_into_my_database = mysql_query("INSERT INTO smslog (mobile, message, datetime) VALUES ('$mobile', '$sms', NOW())");


You can implement the same procedure using other Programming Languages (ASP, ASP.NET, Java, Python, C++, etc).

However, as a way of demonstrating the ability of the SMS2App gateway, you can re-format the SMS with some delimiters; for which your clients would have been pre-informed of the usage. Thus, making you to take advantage of the SMS2App Information System Strategy.

  • SMS2App, SMS Application, SMS Documentations
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Bulk, Group SMS-in-your-Application/Program

Have you ever thought of how your Bank sends an SMS alert to you instantly after withdrawing...

DND Policy as instructed by NCC

Please be advised that effective 1st July, 2016, all GSM Networks in Nigeria...

Bulk SMS Http API Specification

LekkiHost – Bulk SMS Http API Specification (Document Version 1.0.0)   (This Document...

Powered by WHMCompleteSolution