title: extjs ajax post
body: <p>everyone!
  i'm trying to create ExtJs form and post some data to my php script. heres the code of the button:</p>
  
  <pre><code>    var btnChk = new Ext.Button({
      text: 'Check',
      handler: function(){
      var conn = new Ext.data.Connection();
      conn.request({
             method:'POST',
             url: 'tmp.php',
             success: function(){alert('ok')},
             failure: function(){alert('not ok')},
             params: { foo: 'bar' }
      });
  </code></pre>
  
  <p>when i hit this button the message is <strong>'ok'</strong>, so i guess it's a success.
  but i can't see any <code>$_POST</code> in my php - it's just an empty array.
  what i'm doing wrong? (i'm realy new to ext and ajax)</p>