"The World's most reliable SMS gateway software!"
Tel.: 00 36 52 532 731
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


Automated phone calls?
Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

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

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.

PHP Examples for developers on how to set up two way SMS functionality using Ozeki PHP API

If you are looking for SMS API-s which helps you to send and receive text messages from a website quickly and easily read our guide about how to use the Ozeki NG SMS Gateway PHP API.
With this PHP SMS API you do not need to work hours to integrate this solution to your system.

How to send / receive SMS text 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 text messages (ozekimessagein) and another will be used to send SMS text messages (ozekimessageout). If an SMS message is received by the system Ozeki NG SMS Gateway will insert a record into ozekimessagein. Your PHP application can read the ozekimessagein database table and check for incoming messages.

Figure 1 - How to send PHP SMS from SQL (Two way communication method)

If you want to send a text 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.

With this easy method you can set up a two way SMS communication channel.

If you are interested in this PHP - database - SMS solution click the following pages for more information:

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

How to send/receive SMS from PHP using HTTP API

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

Figure 2 - How to send PHP SMS using HTTP API (Two way communication method)

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

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

How to send SMS from a website using PHP API
How to send a business card (Vcard SMS) from PHP
How to receive SMS on a website using PHP API
Two way SMS solutions using PHP and HTTP API

Next page: Overview

Ozeki Cookie Policy
Ozeki Informatics Ltd uses cookies to provide you the best experience on this website. The further use of the website will be considered as an agreement to the use of cookies. For more information read this website.

Cookies are enabled You are browsing the optimized version of this website. For more information read this website.

Copyright © 2000 - 2015 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