[Programming] Throw out a 'The Connection was reset' error after submiting (POST) form

Here are a number of reasons that may occurs error after submiting (POST) form:

  1. Too much parameter sent:
    Try to reduce the useless input before submit
  2. Reach the max input var:
    set "max_input_vars   1000" in php.ini or in PHP page
  3. Loading time too long:
    In particular, the values for max_execution_time and max_input_time could safely be increased. Both of these are currently set to 180 seconds, or 3 minutes
  4. Reach the max of files:
    Set "max_file_uploads   20" in php.ini or in PHP page
  5. Posting data too large:
    Set "post_max_size   28M" in php.ini or in PHP page
  6. Over memory:
    Set "memory_limit   128M" in php.ini or in PHP page

留言

這個網誌中的熱門文章

How to PHP export to Excel 2

html viewport meta