Login   Register  
PHP Classes

File: addSender.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Leader  >  Sending SMS messages  >  addSender.php  >  Download  
File: addSender.php
Role: Example script
Content type: text/plain
Description: addSender function, to license Sender Name
Class: Sending SMS messages
Send SMS messages using the Doo.ae API
Author: By
Last change:
Date: 1 year ago
Size: 1,040 bytes


Class file image Download
include("includeSettings.php");        //Include this file to get the general settings
$mobile   "";                     //Your mobile number, as registered in Doo.ae.
$password "";                        //Your password, as registered in Doo.ae.
$sender   "doo";                    //Sender name that you want to license.
                                    //Sender name must be a component of characters only (English letters and numbers), and the length of sender's name must not be more than 11 characters.
$type     1;                        //1 or 2
                                    1: means you want to license the sender's name to be used for sending SMS to UAEs mobile numbers.
                                    2: means the you want to license the sender's name to be used for sending SMS to KSAs mobile numbers.
$resultType 0;                    //This variable determine the type of the result
                                    //0: Returns API result as a number.
                                    //1: Returns API result as meaningful text.    

//Call addSender function, to license Sender Name
echo $sendPort->addSender($mobile$password ,$sender,$type,$resultType);