PHP Classes
elePHPant
Icontem

File: getbalance.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andy Dixon  >  Textlocal  >  getbalance.php  >  Download  
File: getbalance.php
Role: Example script
Content type: text/plain
Description: Get Balance
Class: Textlocal
Send SMS or MMS messages using Textlocal API
Author: By
Last change:
Date: 2 years ago
Size: 253 bytes
 

Contents

Class file image Download
<?php
require('../textlocal.class.php');

$textlocal = new Textlocal('demo@txtlocal.com', 'apidemo123');

try {
   
$result = $textlocal->getBalance();
   
print_r($result);
} catch (
Exception $e) {
    die(
'Error: ' . $e->getMessage());
}
?>