PHPCMS是一款基于 PHP+Mysql 架构的网站内容管理系统,也是一个开源的 PHP 开发平台。Phpcms 采用模块化方式开发,功能易用便于扩展,可面向大中型站点提供重量级网站建设解决方案。 在文件incude/common.inc.php中: if(!defined('IN_ADMIN')) //不是管理员则进入判断 { if($CONFIG['dbiscache']) $db_file .= '_cache'; if($CONFIG['phpcache'] == '2') { $cachefileid = md5($PHP_SELF.'?'.$PHP_QUERYSTRING); $cachefiledir = PHPCMS_ROOT.'/data/phpcache/'.substr($cachefileid, 0, 2).'/'; $cachefile = $cachefiledir.$cachefileid.'.html'; if(file_exists($cachefile) && ($PHP_TIME < @filemtime($cachefile) + $CONFIG['phpcacheexpires'])) { require $cachefile; exit; } } if($PHP_QUERYSTRING && preg_match("/^(.*)\.(htm|html|shtm|shtml)$/", $PHP_QUERYSTRING, $urlvar)) { parse_str(str_replace(array('/', '- ', ' '), array('&', '=', ''), $urlvar[1])); //parse_str函数注册变量,导致可以任意覆盖之前的变量。 PHPCMS 2007 厂商补丁: PHPCMS ------- 目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本: http://www.phpcms.cn/
PHPCMS是一款基于 PHP+Mysql 架构的网站内容管理系统,也是一个开源的 PHP 开发平台。Phpcms 采用模块化方式开发,功能易用便于扩展,可面向大中型站点提供重量级网站建设解决方案。 在文件incude/common.inc.php中: if(!defined('IN_ADMIN')) //不是管理员则进入判断 { if($CONFIG['dbiscache']) $db_file .= '_cache'; if($CONFIG['phpcache'] == '2') { $cachefileid = md5($PHP_SELF.'?'.$PHP_QUERYSTRING); $cachefiledir = PHPCMS_ROOT.'/data/phpcache/'.substr($cachefileid, 0, 2).'/'; $cachefile = $cachefiledir.$cachefileid.'.html'; if(file_exists($cachefile) && ($PHP_TIME < @filemtime($cachefile) + $CONFIG['phpcacheexpires'])) { require $cachefile; exit; } } if($PHP_QUERYSTRING && preg_match("/^(.*)\.(htm|html|shtm|shtml)$/", $PHP_QUERYSTRING, $urlvar)) { parse_str(str_replace(array('/', '- ', ' '), array('&', '=', ''), $urlvar[1])); //parse_str函数注册变量,导致可以任意覆盖之前的变量。 PHPCMS 2007 厂商补丁: PHPCMS ------- 目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本: http://www.phpcms.cn/