PHP Classes

File: test-sms.php

Recommend this page to a friend!
  Classes of Spring Edge   PHP Send SMS through API   test-sms.php   Download  
File: test-sms.php
Role: Example script
Content type: text/plain
Description: test file to call and test sendsms.php class
Class: PHP Send SMS through API
Send SMS messages with Spring Edge API
Author: By
Last change: updated test code
Date: 8 years ago
Size: 275 bytes
 

Contents

Class file image Download
<?php
/*
* Get API key and Sender ID from
* http://springedge.com
* Copy php-send-sms-code.php in same directory
*/
   
include 'php-send-sms-code.php';
   
$sendsms=new sendsms("1i6xxxxxxxxxxxxxx", "BUxxxx");
   
$sendsms->send_sms("99xxxxxxxx", "test sms");

?>