Disallowed Key characters error hint _php tutorial for resolving CI framework

Source: Internet
Author: User
When using the CI framework, it is sometimes a problem to open the Web page and display only the disallowed Key characters error prompt. Some people say that there are illegal characters in the URL. But make sure the URL is plain English, the problem is still out. But after emptying the browser history and cookies. There's no problem with the refresh. Sometimes. Open a different browser. Some browsers may have problems. Some will not.

Resolves the disallowed Key characters error prompt method in the CodeIgniter framework application. Locate the input file under the/system/core folder, and put the following code:

< span="">_clean_input_keys  < span="">  ( < span="">  < span="">  < span="">  < span=""> (' disallowed Key characters. ')  < span="">  < span=""> < span="">< span="">< span="">< span="">< span="">< c27>< span="">->uni->clean_string(< span="">< span="">< span="">< span="">< span="">< span="">

Switch

< span="">_clean_input_keys  < span="">    (< span="">  = &get_config (' config ' )   < span="">  < span=""> < span="">< span="">("/^[".  < span=""> (' disallowed< span="">< span="">  < span=""> < span=""> Key characters. ' < span="">< span="">< span="">< span="">< span="">< c35>< span="">->uni->clean_string(< span="">< span="">< span="">< span="">< span="">< span="">

Reference: http://www.nowamagic.net/librarys/veda/detail/1699

http://www.bkjia.com/PHPjc/440425.html www.bkjia.com true http://www.bkjia.com/PHPjc/440425.html techarticle when using the CI framework, it is sometimes a problem to open the Web page and display only the disallowed Key characters error prompt. Some people say that there are illegal characters in the URL. But make sure the URL is pure English ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.