Home  >  Article  >  Backend Development  >  I made the thinkphp form token according to the official thinkphp documentation. How should I test its function?

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

WBOY
WBOYOriginal
2016-08-23 09:17:47947browse

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

Statement:
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