PDA

View Full Version : $_POST and php://input returns empty in my extjs form at IE browser



sdeshmukh1983
14 Oct 2012, 11:54 PM
I have an extjs form. When I submit that form, I get empty $_POST value.
I am also getting empty php://input value. These tweaks have made no difference:

increasing post_max_size to 16M adding nokeepalive to htaccess setting content-type in code (if not set) Sometimes form gets posted successfully,sometimes not.
My form is like this:
var form = new Ext.FormPanel({......});

on 'click': { fn: function(evt, btn){ submitForm(form); } }
i have submitForm() where i am doing some stuff bfore submitting form like add some hidden variables value etc, and inside submitForm() i have written form.getForm().submit({})
Please help....

mitchellsimoens
22 Oct 2012, 7:06 AM
Are you trying to upload a file also?

sdeshmukh1983
22 Oct 2012, 9:18 PM
No , I am not trying to upload any file

mitchellsimoens
23 Oct 2012, 4:31 AM
Unless you are changing it, all should be good in $_POST. You can verify data is sent watching the Network tab in the dev tools and you can see what is being sent also.

mitchellsimoens
23 Oct 2012, 5:35 AM
Please do not post duplicate threads