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
谷歌瀏覽器雖然可以自動屏蔽js代碼攻擊但是卻無法屏蔽Html,不信你們試試,在地址欄接參數的地方輸入<h1>www</h1>
2017-01-07
<script>alert("攻擊")</script><h1>wwwwww</h1>
2017-01-07