當前位置: 首頁>>代碼示例>>PHP>>正文


PHP server::connect方法代碼示例

本文整理匯總了PHP中server::connect方法的典型用法代碼示例。如果您正苦於以下問題:PHP server::connect方法的具體用法?PHP server::connect怎麽用?PHP server::connect使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在server的用法示例。


在下文中一共展示了server::connect方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: server

				-CraftedWeb Generation II-                  
			 __                           __ _   							   
		  /\ \ \___  _ __ ___  ___  ___  / _| |_ 							   
		 /  \/ / _ \| '_ ` _ \/ __|/ _ \| |_| __|							   
		/ /\  / (_) | | | | | \__ \ (_) |  _| |_ 							   
		\_\ \/ \___/|_| |_| |_|___/\___/|_|  \__|	- www.Nomsoftware.com -	   
                  The policy of Nomsoftware states: Releasing our software   
                  or any other files are protected. You cannot re-release    
                  anywhere unless you were given permission.                 
                  © Nomsoftware 'Nomsoft' 2011-2012. All rights reserved.  */
#############################
## ADMIN PANEL LOADER FILE ##
## ------------------------##
#############################
require '../includes/misc/headers.php';
//Load headers
define('INIT_SITE', TRUE);
include '../includes/configuration.php';
if ($GLOBALS['adminPanel_enable'] == FALSE) {
    exit;
}
require '../includes/misc/compress.php';
//Load compression file
include '../aasp_includes/functions.php';
$server = new server();
$account = new account();
$page = new page();
$server->connect();
if (isset($_SESSION['cw_admin']) && !isset($_SESSION['cw_admin_id']) && $_GET['p'] != 'notice') {
    header("Location: ?p=notice&e=It seems like a session was not created! You were logged out to prevent any threat against the site.");
}
開發者ID:nero08,項目名稱:CraftedWeb,代碼行數:31,代碼來源:loader.php


注:本文中的server::connect方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。