File: balance.php

Recommend this page to a friend!
  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 API
Author: By
Last change:
Date: 7 years ago
Size: 523 bytes



Class file image Download
include("includeSettings.php"); //Include this file to get the general settings
$mobile = ""; //Your mobile number, as registered in
$password = ""; //Your password, as registered in
$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);

For more information send a message to info at phpclasses dot org.