php $_POST array empty upon form submission

前端 未结 27 2668

I have a custom CMS i\'ve built that works perfectly on my dev box (Ubuntu/PHP5+/MySQL5+).

I just moved it up to the production box for my client and now all form su

27条回答
  •  无人及你
    2020-11-22 10:07

    Having the enable_post_data_reading setting disabled will cause this. According to the documentation:

    enable_post_data_reading

    Disabling this option causes $_POST and $_FILES not to be populated. The only way to read postdata will then be through the php://input stream wrapper. This can be useful to proxy requests or to process the POST data in a memory efficient fashion.

提交回复
热议问题