Codeigniter开启csrf protection的使用方法
在CI 2.0中有一個csrf(Cross Site Request Forgery) protection的功能如果打開這個功能的話
post表單給server 會吐 error 500
An Error Was Encountered
The action you have requested is not allowed.
會無法執行
请问一下这个功能是的原理是什么呀?要怎么实现呢
使用ci的表单函数form_open
ajax的时候见这个
http://codeigniter.org.cn/forums/thread-14388-1-1.html
页:
[1]