本文整理匯總了PHP中cookie::logOut方法的典型用法代碼示例。如果您正苦於以下問題:PHP cookie::logOut方法的具體用法?PHP cookie::logOut怎麽用?PHP cookie::logOut使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類cookie
的用法示例。
在下文中一共展示了cookie::logOut方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: sendEmail
$subject = 'camrally.com - Remove Place';
$body = '<p>Customer ID: ' . $rows->chargify_cust_id . ' - ' . $rows->fname . ' ' . $rows->lname . ' has requested to remove ' . ($placeToadd > 1 ? $placeToadd : $placeToadd) . ' location(s)</p>
<p><strong>Note:</strong></p>
<p>The request may take up to 24 hours to process</p>
<p>Thank you.</p>
<p>Tabluu Support</p>';
}
}
}
}
sendEmail($rows->groupmail, $subject, $body, $cc_email = 'support@camrally.com');
break;
case 'logout':
include_once 'class/class.cookie.php';
$cookie = new cookie();
$cookie->logOut();
break;
case 'customerTime':
$groupID = $_REQUEST['groupID'];
$sql = "SELECT timezone FROM businessUserGroup\n\t\tWHERE gID = '{$groupID}'";
$result = mysql_query($sql);
if (mysql_num_rows($result)) {
$row = mysql_fetch_object($result);
echo $row->timezone;
} else {
echo 'none';
}
break;
}
$connect->db_disconnect();
function sendEmail($email, $subject, $body, $cc_email = '')