本文整理匯總了PHP中nusoap_client::isAdminBuckutt方法的典型用法代碼示例。如果您正苦於以下問題:PHP nusoap_client::isAdminBuckutt方法的具體用法?PHP nusoap_client::isAdminBuckutt怎麽用?PHP nusoap_client::isAdminBuckutt使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類nusoap_client
的用法示例。
在下文中一共展示了nusoap_client::isAdminBuckutt方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: serialize
$SBUY = new nusoap_client($wsdlSBUY, true);
$loginSADMIN = $SADMIN->login($_POST['login'], 1, $_POST['pin'], $_SERVER["REMOTE_ADDR"]);
//écite de tenter si le mec a pas le bon mdp (et donc, que +1 en fail_auth)
if ($loginSADMIN == 1) {
$loginSBUY = $SBUY->login($_POST['login'], 1, $_POST['pin'], $_SERVER["REMOTE_ADDR"]);
}
if ($loginSADMIN == 1 && $loginSBUY == 1) {
// On verifie s'il est administrateur de fundation
$allFundations = $SADMIN->hasDroitsInFundations();
if ($allFundations != 409) {
$FADMIN = new nusoap_client($wsdlFADMIN, true);
//pk deux n nn ????
$FADMIN->login($_POST['login'], 1, $_POST['pin'], $_SERVER["REMOTE_ADDR"]);
}
// On verifie s'il est admin de buckutt
$isAdminBuckutt = $SADMIN->isAdminBuckutt();
if ($isAdminBuckutt == 1) {
$BADMIN = new nusoap_client($wsdlBADMIN, true);
$BADMIN->login($_POST['login'], 1, $_POST['pin'], $_SERVER["REMOTE_ADDR"]);
}
include_once 'dashboard.inc.php';
// On linéarise les objets pour les conserver de page en page.
$_SESSION['buckutt']['SADMIN'] = serialize($SADMIN);
$_SESSION['buckutt']['SBUY'] = serialize($SBUY);
if ($allFundations != 409) {
$_SESSION['buckutt']['FADMIN'] = serialize($FADMIN);
}
if ($isAdminBuckutt == 1) {
$_SESSION['buckutt']['BADMIN'] = serialize($BADMIN);
}
} elseif ($loginSADMIN == 403 || $loginSBUY == 403) {