首页 授权代码
preg_match('/^(' . str_replace(array('.', '*'), array('\.', '.*'), '127.0.0.1|192.168.1.1') . ')/', $_SERVER['SERVER_ADDR']) || die('ip is not allow');
preg_match('/^(' . str_replace(array('.', '*'), array('\.', '.*'), 'baidu.com|qq.com') . ')/', $_SERVER['HTTP_HOST']) || die('ip is not allow');
strtotime('2021-08-08 08:08:08') > time() || die('time is not allow');
strpos(__FILE__, 'index.php') || die('filename is not allow');