当前位置:网站首页>dedecms织梦tag标签不支持大写字母修复
dedecms织梦tag标签不支持大写字母修复
2022-08-05 04:13:00 【网站建设影子】
无意中发现自己dedecms的博客中部分tag标签点击无效的情况,开始以为是自己标签弄错了,正了半天没搞明白,后来无意中发现是因为dedecms5.7版本tag标签不支持大写字母,下面是解决方法:打开网站根目录的tags.php文件,
把下面一行代码
$tag = trim($_SERVER['QUERY_STRING']); 改成
$tag = strtolower(trim($_SERVER['QUERY_STRING'])); 注释:PHP strtolower() 函数
定义和用法
strtolower() 函数把字符串转换为小写。
语法 strtolower(string)
参数 描述
string 必需。规定要转换的字符串。
例子 <?php echo strtolower("Hello WORLD!"); ?>
输出:
hello world!
边栏推荐
- 商业智能BI业务分析思维:现金流量风控分析(一)营运资金风险
- [MRCTF2020]PYWebsite
- 【8.2】代码源 - 【货币系统】【硬币】【新年的问题(数据加强版)】【三段式】
- 【Mysql进阶优化篇02】索引失效的10种情况及原理
- JeeSite新建报表
- Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~
- 1007 Climb Stairs (greedy | C thinking)
- Detailed explanation of Mysql's undo log
- [BSidesCF 2019] Kookie
- 关于#SQL#的迭代、父子结构查询问题,如何解决?
猜你喜欢

The most effective seven performance testing techniques of software testing techniques

Detailed and comprehensive postman interface testing practical tutorial

There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space

UI自动化测试 App的WebView页面中,当搜索栏无搜索按钮时处理方法

35岁的软件测试工程师,月薪不足2W,辞职又怕找不到工作,该何去何从?

Mysql的redo log详解
![[Geek Challenge 2019]FinalSQL](/img/e4/0c8225ef7c5e7e5bdbaac2ef6fc867.png)
[Geek Challenge 2019]FinalSQL

UE4 通过与其它Actor互动开门

狗仔队:表面编辑多视点图像处理

Develop your own node package
随机推荐
Is the NPDP certificate high in gold content?Compared to PMP?
How to solve the three major problems of bank data collection, data supplementary recording and index management?
bytebuffer put flip compact clear 方法演示
Solana NFT开发指南
Based on holding YOLOv5 custom implementation of FacePose YOLO structure interpretation, YOLO data format conversion, YOLO process modification"
[MRCTF2020] Ezpop (detailed)
事件解析树Drain3使用方法和解释
Some conventional routines of program development (1)
DNS被劫持如何处理?
A 35-year-old software testing engineer with a monthly salary of less than 2W, resigns and is afraid of not finding a job, what should he do?
Machine Learning Overview
将故事写成我们
Acid (ACID) Base (BASE) Principles for Database Design
炎炎夏日教你利用小米智能家居配件+树莓派4接入Apple HomeKit
Bosses, I noticed that a mysql CDC connector parameters scan. The incremental. Sna
UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
新人如何入门和学习软件测试?
How to wrap markdown - md file
Swing有几种常用的事件处理方式?如何监听事件?
UE4 opens doors with overlapping events