Return to Snippet

Revision: 28988
at July 18, 2010 05:11 by smsmatrix


Initial Code
<?php
$URL = 'http://www.smsmatrix.com/matrix';
$PHONE = '12506063167'; // comma separated list of phone numbers
$USERNAME = urlencode ('[email protected]');
$PASSWORD = urlencode ('pass72727');
$TXT = urlencode ('This is a test, pls ignore');

$Q = "$URL?username=$USERNAME&password=$PASSWORD&phone=$PHONE&txt=$TXT";

$res = implode ('', file ($Q));
echo "Matrix API Response :\n$res\n";
?>

Initial URL
http://www.smsmatrix.com/?sms-gateway

Initial Description
Send SMS via www.smsmatrix.com SMS Gateway using PHP
See more examples at <A HREF="http:/www.smsmatrix.com">SMS/Voice/TTS Gateway</a>

Initial Title
Send SMS via www.smsmatrix.com SMS Gateway using PHP

Initial Tags
php

Initial Language
PHP