Thnx, I'll look this very soon !
On 18 mar, 15:30, Nouknouk <[email protected]> wrote: > Hi, > > the APE server can do HTTP requests, so you can use this feature to call > a PHP 'page' on you webserver. Of course, it would be better to add a > way to ensure the page is called from the APE server (and not a visitor > of your website for example). > > You may want to look at the file 'scripts/framework/Http.js' in the > server package: there are several examples of code to show how to use > the Http class, like this one: > > var request = new Http('http://twitter.com:80/statuses/update.json'); > request.set('method', 'POST'); > > // GET or POST data > request.writeData('status', 'Hello!'); > > // HTTP Auth > request.set('auth', 'user:password'); > > request.getContent(function (result) { > Ape.log(result); > }); > > Regards, > > Nouk > > Le 18/03/2010 13:09, Vinz a crit : > > > Hi, > > > APE can be invoked by PHP using inlinepush... but does PHP can be > > invoked by APE ? > > > Example, APE Server receive a command, it execute a php script (or a > > shell script) ? > > > Thanks! -- 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/
