12345678910111213141516 |
- #!/usr/bin/php
- <?php
- require_once "lib/ssms_su.php";
- if (count($argv) < 6) {
- print 'Not enough arguments, syntax: '.$argv[0].' login password destination message sender_name'."\n";
- exit(7);
- }
- $rc = reset(smsapi_push_msg_nologin($argv[1], $argv[2], $argv[3], $argv[4], array("sender_name"=> $argv[5])));
- print $rc."\n";
- exit($rc);
- ?>
|