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
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
 


 --------------------
raditha dissanayake
[EMAIL PROTECTED] 

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

Reply via email to