PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Afilnet   PHP SMS Sending API   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: script to check class use
Class: PHP SMS Sending API
Send simple SMS messages with the Afilnet API
Author: By
Last change:
Date: 8 years ago
Size: 539 bytes


Class file image Download
$email = "EMAIL"; // Afilnet account's email
$password = "PASSWORD"; // Afilnet account's password
$mobile = "MOBILE"; // mobile target
$sender = "SENDER"; // sender 11 characters maximum
$prefix = "PREFIX"; // country prefix
$sms = "This is a simple sms send test through our API (Afilnet)"; // sms 160 characters maximum
$send = new SendSimpleSMS($email, $password, $mobile, $sender, $prefix, $sms);