$city = $_SESSION['city']; $state = $_SESSION['state']; $postal = $_SESSION['postalcode']; $phone = $_SESSION['phone']; $publicationid = $_SESSION['Publication_Id']; $planid = $_SESSION['planId']; $planTitle = $_SESSION['planTitle']; $amount = $_SESSION['planPrice']; $date = date("Y-m-d"); $expdate = date('Y-m-d', strtotime("+" . $_SESSION['Period'] . " " . $_SESSION['PeriodType'] . "")); $param = array('Email' => "{$email}", 'UserName' => "{$UserName}", 'Password' => "{$Password}", 'FirstName' => "{$firstname}", 'LastName' => "{$lastname}", 'StreetAddress' => "{$address}", 'City' => "{$city}", 'State' => "{$state}", 'PostalCode' => "{$postal}", 'Phone' => "{$phone}", 'ExpiryDate' => "{$expdate}", 'PublicationID' => "{$publicationid}", 'SubscriptionPlanID' => "{$planid}"); $client3 = new soapclient('http://etypeservices.com/Service_InsertDetailsinTempTable.asmx?WSDL'); //echo "<pre>"; // print_r($param); // echo "</pre>"; $response3 = $client3->Temp_SubscriberRegistration($param); // echo "<pre>"; // print_r($response3); // echo "</pre>"; //die(); //$payparam=array('PublicationID'=>"$publicationid",'UserName' =>"$UserName",'Amount'=>"$amount"); // $clientpay=new soapclient('http://etypeservices.com/Service_SavePaymentin_TempTable.asmx?wsdl'); // $responsepay=$clientpay->Temp_SubscriberPayment($payparam); $custom = $UserName; $sel = "select UserName from temp_user where UserName='******'"; $qu1 = db_query($sel); $userexit = ""; foreach ($qu1 as $qu1) { $userexit = $qu1->UserName; } if ($userexit != '') {