How to send messages from php to node.js? I have a linux server running php and node.js.
When a user completes a transaction (via php), I’d like send a message from php to node.js. Node will then update the client via a socket connection.
What’s a good way to send a small amount of data from php to node.js without defeating the performance of node.js?
The suggestion seems to be to talk to node through the HTTP interface, just as any other client does. You can talk to node via HTTP using cURL in php
See: http://groups.google.com/group/socket_io/browse_thread/thread/74a76896d2b72ccc/216933a076ac2595?pli=1
In particular, see this post from Matt Pardee