- 打开网站根目录的
tags.php
文件 - 把
$tag = trim($_SERVER['QUERY_STRING']);
改成$tag = strtolower(trim($_SERVER['QUERY_STRING']));
strtolower()
函数将字符串转换为小写


分享服务器维护、抵抗入侵、防篡改、防御攻击、排查后门木马、清理挖矿病毒、网络安全、信息安全、内网安全、数据灾备、网站搬迁、程序升级、威胁情报、网站安全运维的日常知识
tags.php
文件$tag = trim($_SERVER['QUERY_STRING']);
改成
$tag = strtolower(trim($_SERVER['QUERY_STRING']));
strtolower()
函数将字符串转换为小写