Login Issues ! (URGENT)

In my login form I am able to call the php file but the issue is this; The request is being sent but there is no response coming back from that php file. I want to know what should be the callback function to get the response…
Need help !
Can anyone provide me with some example ?
I am giving the sample code of my application !!! I have used two methods but of no use. Please help !

function initLogin() {
isc.showLoginDialog(function (credentials, dialogCallback) {
     if (credentials == null) return; // dismissed
     // send credentials    
     sendCredentials(credentials, function (loginSucceeded) {
         // report success or failure
       dialogCallback(loginSucceeded);
     })
 })
 
 function sendCredentials(credentials){
  isc.RPCManager.sendRequest(isc.RPCRequest.create({
   actionURL: "checkcred.php",
   httpMethod: "GET",
   contentType: "text/xml",
   params: {name: credentials.username, 
                     pass: credentials.password}
      }));
 
 }}
function initLogin() {
 isc.showLoginDialog(function (credentials, dialogCallBack) {
  var request = isc.RPCRequest.create({
   actionURL: "checkcred.php",
   httpMethod: "GET",
   contentType: "text/xml",
   params: {name: credentials.username, 
                     pass: credentials.password},
   useSimpleHttp: false,
   serverOutputAsString: true,
   callback: "checkLogin(rpcResponse, rpcRequest)",
            myDialogCallback : "dialogCallback"
  })
  isc.RPCManager.sendRequest(request);
 })
 
}

function checkLogin(response, request) {
  level = true;        
  request.myDialogCallback(level);
}

You don’t need to call isc.RPCRequest.create(), just pass properties. If you are talking to a PHP server you almost certainly want to set rpcRequest.useSimpleHttp:true.

As far as your PHP server not returning a response - this is something to debug on the PHP server, right? Use Firebug or Fiddler to verify you are sending the right input data to the script.