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

SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki NG SMS Gateway

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.

sending a php sms from sql
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).

sending a php sms with http api
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.

More information