PDA

View Full Version : I canít use Ext.Ajax.request with method POST



Reverent
16 Jun 2011, 7:18 PM
Hello everybody.

I have this code:


Ext.Ajax.request
(
{
url: "pathTomyFile.php",
method: "GET",

success: function(response, opt)
{
alert(response.responseText);
},
failure: function(form, action)
{
Ext.Msg.show
(
{
title: "??????",
msg: "????????? ?????? ?????????? ? ????????!",
icon: Ext.MessageBox.ERROR,
buttons: Ext.MessageBox.OK
}
);
}
}
);

If I execute this code I will receive from a server, that the inquiry has been successfully processed. But if I change, a method on POST PHP will return me such error:

<b>Warning</b>: Unknown: POST Content-Length of 0 bytes exceeds the limit of -201326592 bytes in <b>Unknown</b> on line <b>0</b><br />

I did not send this inquiry any files. Why there is an error?

skirtle
17 Jun 2011, 10:03 AM
This is not an ExtJS issue, it's a problem with your server config. Might be this:

http://24x7servermanagement.com/blog/?p=822

but you'd be better off asking in a relevant forum.