-1

I have a form with 1222 fields (I know the number is large, but it's a form for saving translations). When I submit the form, the script is not executing. I get no error message and the error log is empty. Even if the script I post to contains only an echo command, nothing is executed and all I see is a blank page.

I am quite sure this is a PHP setting problem, as the form can be submitted without any problems on other servers. Can anyone shed some light on what the issue could be?

The HTML is:

<form action="test.php" method="post">
    <input type="text" name="account-form-282f96c7d1ed98d24606d209dcad9842" value=""/>
    <!-- 1221 more inputs with different names, but format is the same as above -->
    <input type="submit" name="submitBT" value="Save"/>
</form>

test.php:

<?php
echo(1);
?>

Edit 1: If I simplify the input names, e.g.: input_1, input_2 etc. the submit works fine.

Edit 2: I noticed I receive a 406 Not Acceptable HTTP response.

Emoke Ordog
  • 111
  • 1
  • 7

1 Answers1

0

The problem is with mod_security, for some reason it didn't like the submitted data and stopped the execution of the script.

Emoke Ordog
  • 111
  • 1
  • 7