Jan wrote:
> At boot time, some sort of 'client deamon' is started, and it logs
> in to the Jabber server. When I want a PHP script to send a message
> to me, it  only does a small call to some application, that then
> connects to the  daemon to send it.

That's pretty straight forward to do, although the daemon will
probably want to be written in C++ or Perl (or whatever). Searching
google (http://www.google.com/search?sourceid=navclient&q=php+ipc)
popped up  http://zez.org/article/articleview/46/ which looks like a
reasonable tutorial. I've done the Jabber/IPC thing in Perl without
any real hassles, so PHP should be doable.

For the Perl side, Net::jabber is what you want, docs at:
http://theoryx5.uwinnipeg.ca/CPAN/data/Net-Jabber/ with examples and
stuff at http://www.pipetree.com/jabber/ Perl's ShareLite module
should do much the same thing as the PHP shared memory by the look of
it, and that's very straightforward.

HTH
Moz

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to