Please see this discussion
http://groups.google.com/group/ape-project/browse_thread/thread/a6eee2aeb4ba9eba

On Jun 17, 5:50 pm, elie <[email protected]> wrote:
> 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