<?
require_once('header.html');
require_once('lib/nusoap.php');
if (!$Username || !$Password || (!$EmailNew && !$Password1))
{
echo "<center><p>You have not entered all the required details.<br>";
echo "Please, <a href='customers_update.html'>go back</a> and try again</center>";
exit;
}
$soapclient = new soapclient('http://sms.yakoon.com/customers.asmx?wsdl','wsdl');
$result = $soapclient->call('Update',array('Username'=> $_GET['Username'],'Password'=>$_GET['Hash'],'Password1'=> $_GET['Hash1'],'EmailNew'=> $_GET['EmailNew'],'Culture'=> $_GET['Culture']));
print_r($result);
require_once('footer.html');
?>