本文整理匯總了PHP中soapclient::Temp_SubscriberRegistration方法的典型用法代碼示例。如果您正苦於以下問題:PHP soapclient::Temp_SubscriberRegistration方法的具體用法?PHP soapclient::Temp_SubscriberRegistration怎麽用?PHP soapclient::Temp_SubscriberRegistration使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類soapclient
的用法示例。
在下文中一共展示了soapclient::Temp_SubscriberRegistration方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: date
$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='" . $UserName . "'";
$qu1 = db_query($sel);
$userexit = "";
foreach ($qu1 as $qu1) {
$userexit = $qu1->UserName;
}
if ($userexit != '') {