php $_POST array empty upon form submission

前端 未结 27 3380

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:06

    Make sure that, in php.ini:

    • track_vars (it's only available on very old PHP versions) is set to On
    • variables_order contains the letter P
    • post_max_size is set to a reasonable value (e.g. 8 MB)
    • (if using suhosin patch) suhosin.post.max_vars and suhosin.request.max_vars are large enough.

    I suppose the second suggestion of mine will solve your problem.

提交回复
热议问题