Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating two applications on my linux server. One is a C++ daemon running on my linux system another is a PHP website hosted in that same system. Now I need to communicate this two applications when a user select the action from a PHP web page. How can I communicate between this two applications? Which is the best technique that I can use for this type of situation.

Many thanks to your helps....
Posted
Comments
Mohibur Rashid 16-May-13 8:20am    
make your aemon as server, open socket from php, make sure your daemon dont answer to random client
AlphaDeltaTheta 17-May-13 21:52pm    
You have lot of options open, a server (as suggested above) but it's risky!. There's also dbus which is widely used in Linux daemons

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900