Login   Register  
PHP Classes
elePHPant
Icontem

File: balance.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  >  balance.php  >  Download  
File: balance.php
Role: Example script
Content type: text/plain
Description: balanceSMS function, to check your balance
Class: Sending SMS messages
Send SMS messages using the Doo.ae API
Author: By
Last change:
Date: 1 year ago
Size: 523 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.
$password   "";                        //Your password, as registered in Doo.ae.
$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 balanceSMS function, to check your balance
echo $sendPort->balanceSMS($mobile$password$resultType);
?>