[JDEV] Re: Checking for messages without actually receiving them
Raditha Dissanayake
jabber at raditha.com
Thu Sep 26 22:48:34 CDT 2002
Hi sebastian
How about using xdb_sql and performaing a select count(*) from spool query
from your php script to figure out if there are any messages? Since php is
so powerfull this to me looks the easiest way of doing it.
Sebastian Paul Avarvarei writes:
> Hello,
>
> Is it possible to check on the server if there are messages waiting for an user, but without actually getting them from the server?
>
> I'm trying to write an PHP module which would display in an Web page a notification, in case there are messages waiting for him/her. I don't want to display the actual messages in the Web page, I want them to stay on the server until the user starts a normal Jabber client.
>
> Thanks in advance for your help.
>
> Best regards,
> Sebastian
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--------------------
raditha dissanayake
raditha at raditha.com
More information about the JDev
mailing list