PHP $_POST array variables are truncated
问题 I am using PHP 5.3.8 with Apache 2.0. I am also using Symfony 2 but that's not where the script is failing. I have a form with array variables: <form action="/app_dev.php/admin/position/create" method="post"> <input type="text" id="po_name" name="po[name]" required="required" maxlength="50"> <input type="text" id="po_role" name="po[role]" required="required" maxlength="20"> </form> Directly in the app_dev.php file (to rule out Symfony from the problem) I do: echo file_get_contents("php:/