PDA

View Full Version : Store sync - Cant read posted values on server



betheone
22 Sep 2011, 11:59 PM
Hi all,
I am trying the example on this http://docs.sencha.com/ext-js/4-0/#!/guide/application_architecture. I followed the steps and created the Account Manager and everything works fine...Even i loaded the grid store from the database and that to works fine. Now if i edit the record and call the sync operation, the values get posted in the following format

[{"id":"1","name":"Ed Spencer","email":"ed@sencha.com"},{"id":"2","name":"Tommy 123","email":"tommy@sencha.com"}]

But on the server, when i try to read this in my $_POST variable its empty. Even tried to read it from the $_REQUEST variable but there on the _dc value is posted

Is it problem on the server side or anything else ?

Any suggestion would be appreciated...

Christiand
23 Sep 2011, 6:07 AM
lookup http_get_request_body()
http://ca2.php.net/http_get_request_body