本文整理汇总了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 = '')