HTML表单在php中没有提交超过996个Checkbox值

时间:2014-09-01 09:51:38

标签: php html checkbox

我正在使用php,我在html表单中总共有1140个复选框,如下所示:

<form action="" id="role_perm_form" name="role_perm_form" method="post">
    <ul>
        <li>
            <span>
                <input  type="checkbox"  value="00010001" id="add_00010001" name="add[]" />
                <input  type="checkbox"  value="00010001" id="edit_00010001" name="edit[]" />
                <input  type="checkbox"  value="00010001" id="delete_00010001" name="delete[]"/>
                <input  type="checkbox"  value="00010001" id="view_00010001" name="view[]" />
                <input  type="checkbox"  value="00010001" id="print_00010001" name="print[]" />
            </span>
        </li>
        <li>
            <span>
                <input  type="checkbox"  value="00010002" id="add_00010002" name="add[]" />
                <input  type="checkbox"  value="00010002" id="edit_00010002" name="edit[]" />
                <input  type="checkbox"  value="00010002" id="delete_00010002" name="delete[]"/>
                <input  type="checkbox"  value="00010002" id="view_00010002" name="view[]" />
                <input  type="checkbox"  value="00010002" id="print_00010002" name="print[]" />
            </span>
        </li>
        <li>
            <span>
                <input  type="checkbox"  value="00010003" id="add_00010003" name="add[]" />
                <input  type="checkbox"  value="00010003" id="edit_00010003" name="edit[]" />
                <input  type="checkbox"  value="00010003" id="delete_00010003" name="delete[]"/>
                <input  type="checkbox"  value="00010003" id="view_00010003" name="view[]" />
                <input  type="checkbox"  value="00010003" id="print_00010003" name="print[]" />
            </span>
        </li>
        <li> ...... </li>
        <li> ...... </li>
        <li> ...... </li>
    </ul>
</form>

但是当我选中所有复选框并提交此表单时。我检查print_r($ _ POST)中的值。它仅显示996个复选框值,其余144个复选框值未显示。我还检查了php.ini文件中的`post_max_size是256M。

出了什么问题?

0 个答案:

没有答案