Action you have requested is not allowed error

后端 未结 11 1797
清酒与你
清酒与你 2020-12-06 06:05

I made a module named Gallery which works fine on my localhost with version 2.0.3, but when using version 2.1.0 on a remote site I can not submit a form and I get the error:

11条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-06 06:44

    I have found using the form helper functions

    Example

    
    
    
    
    
    

    Using the helper functions like above should stop the CSRF error message showing.

    If I don't use echo form_input() if I place just normal input will trigger the CSRF error when reload.

    
    
    
    
    
    

    So I recommend using all form helper functions now.

提交回复
热议问题