4fcd SMS Gateway - Developers Guide, PHP SMS API

                

Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

ASP SMS API Contents | SearchOverview

Home > Product Manual > Developers Guide > PHP SMS API

SMS Gateway SMS Gateway Home

PHP Developers!

Start by checking out the possible solutions on how to add SMS functionality to your website. Read the quick overview:

php sms example Beginners: How to send/receive SMS with PHP...


Send SMS using HTTP:

With PHP you can easily submit SMS messages using HTTP requests:

Send SMS (PHP + HTML form)
Send SMS (URL examples)


The Ozeki NG SMS Gateway can send incoming messages to your PHP website through HTTP GET and POST requests:

Receive SMS using PHP and HTTP


SMS from MySQL:

If your website has a MySQL database, check out the following information:

Send SMS from MySQL


 



Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.


Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create:

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

Examples for PHP Developers on how to setup SMS functionality


On this page you can find useful information on how to use PHP to send and receive SMS messages. This guide is an overview. It was designed to help you pick the most appropriate method for your system.

Send / receive SMS from PHP using a database

Most PHP enabled websites use a database server (MySQL or PostgreSQL) for data storage. These database solutions integrate well with the needs of PHP developers. If you use a database server for your website, you should consider to setup an SQL SMS Gateway configuration for your system (Figure 1). The SQL SMS Gateway configuration of Ozeki NG will work the following way:

You have to create two database tables. One will be used for receiving SMS messages (ozekimessagein) and another will be used to send SMS messages (ozekimessageout). If an SMS message is received by the system Ozeki NG will insert a record into ozekimessagein. Your PHP application can read the ozekimessagein database table and check for incoming messages.


Figure 1 - PHP SMS from SQL

If you want to send a message, you can use the ozekimessageout table. You can insert a record into ozekimessageout. Ozeki NG SMS Gateway will periodically check your outgoing database table using an SQL SELECT and if it finds a message to be sent it will send it.

This PHP - database - SMS solution is described in more detail on the following pages:

How to setup an SQL SMS Gateway configuration
How to add SMS functionality to your website with PHP and MySQL
MySQL information for SMS sending

Send / receive SMS from PHP using HTTP

If you don't have a database server attached to your website or you do not want to use it, you can use HTTP requests and communicate directly with the SMS Gateway (Figure 2).


Figure 2 - PHP SMS using HTTP

The advantage to this solution is that it is faster in terms of reaction times. If you are receiving an SMS message using an HTTP SMS Gateway configuration, you can react immediately with a response SMS. The following pages discuss in great detail how you can receive SMS messages or send SMS messages from your PHP enabled website using HTTP.

Dig deeper!
People who read this also read...


Send SMS from a website using PHP
Send a business card (Vcard SMS) from PHP
Receive SMS on a website using PHP
Two way SMS solutions using PHP and HTTP




Next page: Overview

Copyright © 2000 - 2013 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com


0