Hello everyone !

I have a question: what can i do to invoke a php script from APE
Server?

Is it possible to do :

Ape.registerCmd( 'testCmd', function(params, cmd) {

  var channel = Ape.getChannelByPubid(params.pipe);
  var response;
  var request = new Http('http://localhost/server/index.php');

  request.getContent( function(result){
     response = ...
  });

   channel.pipe.sendRaw( 'alertClient', {'text':response});
   //channel.pipe.sendRaw('alertClient', {'tex't:'Pushed'}); // this
line is ok !
});

Help please,  help ! what can i do to invoke a php script from my APE
Server ?

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to