Jump to content

Archived

This topic is now archived and is closed to further replies.

cfemocha

instant messanging

Recommended Posts

Im trying to write a "Sales Chat" function where a customer clicks on a button to enable live chat with customer support.
Im not new to PHP but i have no idea how to approach this. Any help is appreciated.

Thanx in advance.

Share this post


Link to post
Share on other sites
I don't think php is necessarily what you want to be using... You need something client side that checks for new messages. Java would probably be better suited for it I would imagine.

I suppose that you could have a framed html document and the "chat window" refreshed every 10 seconds or so by sending a query to a database. But I could see that being a real pain in the ass. Not to mention all those unnessecary queries to the database.

Share this post


Link to post
Share on other sites

Thank you so much for your reply. Im not very familiar with Java and the constant queries to the database can really seemed to be a problem...

I see some forums that shows online/offline status for their msn/yahoo accounts. Im thinking of using MSN messenger as an alternative. does anyone know how i can show the status?

Share this post


Link to post
Share on other sites
There were many tutorials on it, hold on let me find it. brb

edit: I found a class on it: [a href=\"http://phpclasses.promoxy.com/browse/package/1303.html\" target=\"_blank\"]http://phpclasses.promoxy.com/browse/package/1303.html[/a] Hope it helps.

Share this post


Link to post
Share on other sites

thank you for your reply. Im still configuring the code downloaded from the link you suggested .. dont seem to work so far tho.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.