i would like a login module in EXTJS but when i press login button i would like to pass the variable to external php pages.. i can force to redirect the pages when i press the login button but the variable don't are passed to destination page.

this is my code

Code:
new Ext.FormPanel({
                    labelWidth: 50, 
                    url:'save-form.php',
                    frame:true,
                    collapsible: true,
                    title: 'Login',
                    bodyStyle:'padding:5px 5px 0',
                    width: 225,
                    defaults: {width: 140},
                    defaultType: 'textfield',
            
                    items: [{
                            fieldLabel: 'Username',
                            name: 'username',
                            allowBlank:false
                        },{
                            fieldLabel: 'Password',
                            name: 'password',
                            inputType:'password',
                            allowBlank:false
                        }
                    ],
            
                    buttons: [{
                        text:'Login',
                        type: 'submit',
                handler: function() {
                        			window.location.href = 'http://host/index.php';
	},				
                             }]
                  })
if i write method: 'POST', or GET nothing change...

please help me...