php to execute c++ programs
Currently I have PHP4 running on my localhost and I can execute programs that I've written (a simple program that will insert a dummy entry into a sqlite database).
What I want to do is somehow initiate an event in a program (a daemon to be specific), (unlike previously executing a specific program).
I have this board that needs to be pinged, and I am required that I do not run a separate program. I need to see how I can turn on like an interrupt, or perhaps a polling scheme to allow this, but I'm not sure how it can be done.
Another solution would be to call a program, which will interface with the daemon... how would that work?
Thanks in advance!