Location: PHPKode > projects > Yaoon Bulk SMS Gateway > yaoon-bulk-sms-gateway/vouchers_redeem.php
<?
require_once('header.html');
require_once('lib/nusoap.php');

if (!$Username || !$Voucher )
{
echo "<center><p>You have not entered all the required details.<br>";
echo "Please, <a href='vouchers_redeem.html'>go back</a> and try again</center>";
exit;
}

$soapclient = new soapclient('http://sms.yakoon.com/vouchers.asmx?wsdl','wsdl');

$result = $soapclient->call('Redeem',array('Username'=> $_GET['Username'],'Voucher'=>$_GET['Voucher']));

print_r($result);
require_once('footer.html');
?>
Return current item: Yaoon Bulk SMS Gateway