title: Receive JSON request from PHP
body: <p>In firebug, in the POST tab i see the following;</p>
  
  <pre><code>JSON        
  
  textfieldone "Alex"
  
  
  
  Source
  {"textfieldone :"Alex"}
  </code></pre>
  
  <p>But in the PARAMS tab i see</p>
  
  <pre><code>_dc 1341332451114
  </code></pre>
  
  <p>In my PHP code when i <code>print_r($_REQUEST);</code> i get</p>
  
  <pre><code>Array
  (
      [_dc] =&gt; 1341332451114
  )
  </code></pre>
  
  <p>and not the JSON, that was found in the POST tab. How could i solve this ?</p>
  
  <p>I have no clue why this is hapenning, i have tried to debug this all day</p>
  
  <p><strong>UPDATE PHP CODE:</strong></p>
  
  <pre><code>&lt;?php
  // Make a MySQL Connection
  mysql_connect("localhost", "root", "pwd") or die(mysql_error());
  mysql_select_db("db") or die(mysql_error());
  
  print_r($_REQUEST);
  </code></pre>
  
  <p>In firebug i see the above Responces under the url;</p>
  
  <pre><code>POST http://localhost/proj/php/result.php?_dc=1341332451114 200 OK 107ms
  </code></pre>
  
  <p>May i know what <code>?_dc=1341366375982</code> is. I am sending POST</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>EXT JS4 code</p>
  
  <p>MODEL</p>
  
  <pre><code>Ext.define ('Mycomp.model.MyClass',{
      extend: 'Ext.data.Model',
  
      fields:['textfieldone']
  
  });
  </code></pre>
  
  <p>VIEW</p>
  
  <pre><code>Ext.define('Mycomp.view.user.MyClassView', {
      extend: 'Ext.window.Window',
      alias: 'widget.myclassview',
      initComponent: function() {
          this.items = [
              {
                  xtype: 'form',
                  items: [
                      {
                          xtype: 'textfield',
                          name : 'textfieldone',
                          fieldLabel: 'Contact Person Name'
                      }
                  ]
              }
          ];
          this.buttons = [
                          {
                              text: 'Save',
                              name:'save',
                              action: 'save'
                          }
                      ];
          this.callParent(arguments);
      }
  });
  </code></pre>
  
  <p>CONTROLLER</p>
  
  <pre><code>Ext.define('Mycomp.controller.MyClass',{
      extend: 'Ext.app.Controller',
  
      stores:['MyClass'],
      models:['MyClass'],
      views:['MyClassView'],
      init: function(){
          this.control({          
              'myclassview button[action=save]': {
                  click: this.myMethod
              }
          });         
          },
           myMethod: function(button, record) {
  
         var win    = button.up('window'),
             form   = win.down('form'), 
             values = form.getValues(),
             store = this.this.getmyClassStore(),
             model = store.model,
             record = model.create();
  
  
             record.set( values );
             store.add( record );
             win.close();
             store.sync(); 
  }
  });
  </code></pre>
  
  <p>STORE</p>
  
  <pre><code>Ext.define('Mycomp.store.Myclass',{
      extend:'Ext.data.Store',
      model:'App.model.Myclass',
  
      proxy: {
          actionMethods : {
              create : 'POST'
          },
          type: 'ajax',
          url : '/savetodb.php'
  
      }
  
  });
  </code></pre>