<?
require_once('header.html');
require_once('lib/nusoap.php');
if (!$Username || !$Password || !$Sender || !$Recipient || !$Content)
{
echo "<center><p>You have not entered all the required details.<br>";
echo "Please, <a href='sms_send.html'>go back</a> and try again</center>";
exit;
}
$soapclient = new soapclient('http://sms.yakoon.com/sms.asmx?wsdl','wsdl');
$result = $soapclient->call('Send',array('Username'=> $_GET['Username'],'Password'=>$_GET['Hash'],'Sender'=> $_GET['Sender'],'Recipient'=> $_GET['Recipient'],'Template'=> $_GET['Template'],'Content'=> $_GET['Content'],'Format'=> $_GET['Format'],'SendOn'=> $_GET['SendOn'],'Notification'=> $_GET['Notification']));
print_r($result);
require_once('footer.html');
?>