PHP cannot get post data

Source: Internet
Author: User
Is there anyone who has encountered the foreground post pass value in PHP, background with $_post cannot get the value


Reply to discussion (solution)

There is nothing to be done. Give the code a look.

Did you pass it over? Need to look at the specific code, generally do not appear such a situation

Code to check it out.

No way! As long as you write the error, the value can be passed. You paste the code out ...

Show me The code~

Show me The code~

Why wouldn't it?

You can't get the value with $_post.

Take the enctype= "Text/plain" to remove it.

$_post[' NAME '] receive Ah!

Firebug, look at that.

You can use $_querst to receive the value, as for $_post can not accept the value, it may be a parameter change in your php.ini caused! Modify the Register_global This parameter should be possible, but may lead to a reduction in security!

You can use $_querst to receive the value, as for $_post can not accept the value, it may be a parameter change in your php.ini caused! Modify the Register_global This parameter should be possible, but may lead to a reduction in security!
Can try, should be the problem of configuration

It seems that some PHP version of the key value without quotation marks will also appear this situation


From to quote

Thank you for your reply, seems to be php.ini setup problem

There's no action.

  • 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.