本文整理匯總了PHP中Visitor::purge_files_IP方法的典型用法代碼示例。如果您正苦於以下問題:PHP Visitor::purge_files_IP方法的具體用法?PHP Visitor::purge_files_IP怎麽用?PHP Visitor::purge_files_IP使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Visitor
的用法示例。
在下文中一共展示了Visitor::purge_files_IP方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: define
break;
case 'auul.php':
case 'upload.php':
if (!defined('UPLOAD_DIR')) {
define('UPLOAD_DIR', HOST_DIR . 'upload/');
}
if (!defined('CRLF')) {
define('CRLF', "\r\n");
}
require_once CLASS_DIR . "http.php";
require_once HOST_DIR . "download/hosts.php";
break;
case "lynx.php":
$server = getServerPlatf(1);
break;
}
// end switch
if (THIS_SCRIPT == $options['index_file'] || THIS_SCRIPT == "audl.php") {
require_once CONFIG_DIR . "limitation.php";
}
//Cek ip yg banned || is it listed as authorized ip || check country limit
if ($options["limited_edition"] || $options["limited_area"]) {
$dlimitation = array($options["limited_edition"], $options["limited_area"]);
require_once CLASS_DIR . "limit_district.php";
}
login_check();
$deleted = $options['auto_del_time'] > 0 ? purge_files($options['auto_del_time']) : 0;
$options['downloadLimitbyIP'] ? $visitors->purge_files_IP($options['downloadDelayPerIP']) : '';
($options['OnlineVisitor'] || $options['logact']) && $visitors->is_error != 0 ? html_error($visitors->ret_msg, 0) : '';
$options['OnlineVisitor'] ? $visitors->updOnlineUser() : '';
$options['logact'] && !$visitors->is_latestVisitor() ? $visitors->updLogVisitor('IN') : '';