We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1 手动指定
<form> <?php echo token(); > </form>
#2 自动添加
#2.1 自己写正则或解析 html 找到 form 再插入 token
#2.2 output_add_rewrite_var
<?php output_add_rewrite_var('token','value'); echo '<form><input type="text" /></form>'; // <form><input type="hidden" name="token" value="value"><input type="text" /></form>
output_add_rewrite_var 可以重写 url 添加 query 但是有有几点需要注意
从php的缓冲区说起 深入理解php的输出缓冲区
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#1 手动指定
#2 自动添加
#2.1 自己写正则或解析 html 找到 form 再插入 token
#2.2 output_add_rewrite_var
output_add_rewrite_var 可以重写 url 添加 query 但是有有几点需要注意
参考
从php的缓冲区说起
深入理解php的输出缓冲区
The text was updated successfully, but these errors were encountered: