Hi, I don't think it is possible to load history from ape since it is a real-time push engine. the best way is to prefill it with PHP and let APE do the rest after that.
I am not sure what you mean with the second point! can you explain me a little bit more?. Regards, Ronnie On 12 October 2011 11:00, [email protected] <[email protected]> wrote: > Hello, > > I'm trying to write (rewrite) IM and CHAT system for my website. > Right now i'm doing it using Jquery and HTTP requests, but it's too > slow, and not reliable for many users. > > I found your project, and saw some examples. > > I see there is possibility to send data using PHP, what sounds very > good to me because all data send by user need validation, so first i > want pass them to PHP, and after checking permissions, flood, spam > controll send to user by APE using PHP inline. > > I saw, that's in example, so i think i won't have any problems. > > My question is. > > 1) How make, when user connect to channel i would like to send him a > history, or messages sented to him when he was offline. > - i know i can do this directly in PHP when rendering page, just echo > "msesage1 , message2" but it will be nice if possible using APE to > don't write twice code. > - maybe, there is any way to detect id of user, and send to this one > waiting "messages", but directly to one, not for all. > > 2) How make sure, that any of users can't send anything directly to > APE server. > - Allow publish only via PHP. > > > regards > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
