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