/ Published in: PHP
You'll need a TextMagic account and to download their PHP class file which they provide after signing up. http://www.textmagic.com/
Expand |
Embed | Plain Text
// Include the TextMagic PHP lib require('textmagic-sms-api-php/TextMagicAPI.php'); // Set the username and password information $username = 'myusername'; $password = 'mypassword'; // Create a new instance of TM 'username' => $username, 'password' => $password )); // Send a text message to '999-123-4567' // result: Result is: Array ( [messages] => Array ( [19896128] => 9991234567 ) [sent_text] => Wake up! [parts_count] => 1 )
You need to login to post a comment.
