and type your account information on www.2-waysms.com 1. $from = "********"; // Change ********, and put your SMS Number in www.2-waysms.com account 2. $token = "********"; // Change ********, and put your token code in www.2-waysms.com account */ ?> SMSER
Error!
Text not entered
Go Back
"; die; } else { } if ($to == "") { echo "

Error!
Number not entered
Go Back
"; die; } else { } if ($senderid == "") { echo "

Error!
From not entered
Go Back
"; die; } else { } $url = "http://www.2-waysms.com/my/api/sms.php"; $postfields = array ("from" => "$from", "token" => "$token", "text" => "$text", "to" => "$to", "senderid" => "$senderid"); if (!$curld = curl_init()) { echo "Could not initialize cURL session."; exit; } curl_setopt($curld, CURLOPT_POST, true); curl_setopt($curld, CURLOPT_POSTFIELDS, $postfields); curl_setopt($curld, CURLOPT_URL, $url); curl_setopt($curld, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($curld); curl_close ($curld); $out = explode('|',$output); echo "
Message Status: Your message was sent successfully to $to $out[1]
Send New SMS Message
"; break; default: echo "
" ."
" ."" ."" ."

Send SMS with own Sender ID

" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."
" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."
Sender ID
Number
Message
Character left:
 " ."
" ."
" ."

"; } ?>