Home > Backend Development > PHP Tutorial > Thinkphp3.2 TOKEN令牌验证是否被删除了?

Thinkphp3.2 TOKEN令牌验证是否被删除了?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:47:40
Original
1061 people have browsed it

Thinkphp3.2 TOKEN令牌验证是否被删除了?文档也没有说明。
我已在位置文件中写了如下配置:

'TOKEN_ON' => true,
'TOKEN_NAME' => 'hash',
'TOKEN_TYPE' => 'md5',
'TOKEN_RESET' => true

在模板中使用如下标签:

{TOKEN}

但是{TOKEN}不被解析,直接输出{TOKEN}。

各位了解的话帮帮忙吧,谢谢。

回复内容:

Thinkphp3.2 TOKEN令牌验证是否被删除了?文档也没有说明。
我已在位置文件中写了如下配置:

'TOKEN_ON' => true,
'TOKEN_NAME' => 'hash',
'TOKEN_TYPE' => 'md5',
'TOKEN_RESET' => true

在模板中使用如下标签:

{TOKEN}

但是{TOKEN}不被解析,直接输出{TOKEN}。

各位了解的话帮帮忙吧,谢谢。

肯定不会删除的,我试了一下可以解析,你是否能贴代码或截图

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template