Send SMS-message

Phone number:
Message:

Sender:

_START_HTML_; // check if the form has been submitted in which case we send the SMS if((isset($_POST['phone'])) || (isset($_POST['message'])) || (isset($_POST['sender']))) { // make variables of the _POST array $phone = $_POST['phone']; $message = $_POST['message']; $sender = $_POST['sender']; // instantiate class with $sender and hardcoded user and password $MySMS = new Cellsynt("myuser", "sEcReT", "alpha", "$sender"); // call the sendSMS function and print the status-message on the webpage print "

" . $MySMS->sendSMS($phone, $message) . "

\n"; } ?>