I made the thinkphp form token according to the official thinkphp documentation. How should I test its function?

WBOY
Release: 2016-08-23 09:17:47
Original
990 people have browsed it

I made the thinkphp form token according to thinkphp official documentation. How should I test its function?

Reply content:

I made the thinkphp form token according to thinkphp official documentation. How should I test its function?

Just turn it on. It will automatically generate verification in the form. When you submit, you can use the autoCheckToken method. It will return true and false

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template