Products
Ozeki 10
SMS
Ozeki NG SMS Gateway
Message Server 6
SMS Wall
IP SMS Gateway
Android SMS
Excel SMS
Bulk Messenger
Cluster
Developer tools
Robots
Hardware
Installer
Technology
Company


Send SMS messages from PHP
/Send messages from a WWW page/

The  Ozeki SMS Server enables you to send SMS messages from PHP scripts. The SMS Server and the PHP script can be located on two different computers. This means that more than one script can send messages at the same time with only one SMS Server (figure 1.).  


To send messages from PHP you need to use the file sendsms.php . This file is included in the SMS Server software package.  It provides functions to place the messages onto the SMS Servers queue for sending. Look at the following example:

<?php
include("sendsms.php");
$credits = sms_connect('192.168.0.1','9010','myAccount');

if ($credits>0) {
   sms_send('+36201234567','Hello World!');
}

sms_disconnect();
?>

/ example of sending SMS messages from PHP/

 


Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Products > SMS > Message Server 6 > Developers > PHP - SMS
Legal | Privacy policy | Terms of use
Page: 161 | Login | 3.95.131.97