php - Symfony2 POST variable parameter empty in Internet Explorer -


i made custom form login in symfony2 application :

{% block body %}     <div id="login">         <div class="login_title">authentication</div>         {% if error %}             <div class="alert alert-error">{{ error.message }}</div>         {% endif %}         <form action="{{ path('login_check') }}" method="post">             <table id="login_form">                 <tbody>                     <tr>                         <th><label for="login_login">login</label></th>                         <td> <input type="text" id="username" name="_username" value="{{ last_username }}" required></td>                     </tr>                     <tr>                         <th><label for="login_password">password</label></th>                         <td><input type="password" id="password" name="_password" required></td>                     </tr>                     <tr>                         <td colspan="2">                             <input type="submit" value="connect" id="login_submit">                         </td>                     </tr>                 </tbody>             </table>         </form>     </div>       {% endblock %} 

i have no idea happens , spent 8 hours trying solve that. works on internet explorer, chrome , firefox on local wamp server. works on chrome , firefox on linux test server, ie doesn't send post variables.

i tried on antoher laptop , same result. thought php independant of client's browser ...

any idea on ? parameters symfony function :

$username = trim($request->get("_username", null, true)); $password = $request->get(("_password", null, true); 

assuming $request parameterbag, why did mark get "deep" resolution (3rd argument)?

deep resolution valuable if have field[identifier] name of input.

have tried removing 3rd argument (true)?

also, you're saying works in other browsers?


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -