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


/ Published in: PHP
Save to your folder(s)

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>


Copy this code and paste it in your HTML
  1. <?php
  2. $URL = 'http://www.smsmatrix.com/matrix';
  3. $PHONE = '12506063167'; // comma separated list of phone numbers
  4. $USERNAME = urlencode ('[email protected]');
  5. $PASSWORD = urlencode ('pass72727');
  6. $TXT = urlencode ('This is a test, pls ignore');
  7.  
  8. $Q = "$URL?username=$USERNAME&password=$PASSWORD&phone=$PHONE&txt=$TXT";
  9.  
  10. $res = implode ('', file ($Q));
  11. echo "Matrix API Response :\n$res\n";
  12. ?>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.