Login   Register  
PHP Classes
elePHPant
Icontem

File: senderAvailability.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  >  senderAvailability.php  >  Download  
File: senderAvailability.php
Role: Example script
Content type: text/plain
Description: senderAvailability function to get your sender(s) name(s) in Doo.ae
Class: Sending SMS messages
Send SMS messages using the Doo.ae API
Author: By
Last change:
Date: 1 year ago
Size: 685 bytes
 

Contents

Class file image Download
<?php
include("includeSettings.php");        //Include this file to get the general settings
$mobile "";                        //Your mobile number, as registered in Doo.ae.
$type   "1";                        //1 or 2, 1 means UAE senders names, while 2 means KSA senders names
                                    //In case you didn't pass this parameter, you will get all your active senders names.
$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 senderAvailability function to get your sender(s) name(s) in Doo.ae.
echo $sendPort->senderAvailability($mobile,$type,$resultType);
?>