dqz30992 2016-04-24 07:49
浏览 18
已采纳

如何使用codeigniter $ this-> input-> post('fieldname')从输入中获取精确值?

I am entering text in an input as <br/>, but when i am getting this field value using $this->input->post('fieldname') it is returning <br> instead of <br/>. How to resolve this issue?

  • 写回答

1条回答 默认 最新

  • doupeng8419 2016-04-25 07:38
    关注

    Disable global_xss_filtering:

    $config['global_xss_filtering'] = FALSE;
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?