cfemocha Posted April 7, 2006 Share Posted April 7, 2006 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. Quote Link to comment Share on other sites More sharing options...
jworisek Posted April 7, 2006 Share Posted April 7, 2006 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. Quote Link to comment Share on other sites More sharing options...
cfemocha Posted April 7, 2006 Author Share Posted April 7, 2006 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? Quote Link to comment Share on other sites More sharing options...
lpxxfaintxx Posted April 7, 2006 Share Posted April 7, 2006 There were many tutorials on it, hold on let me find it. brbedit: 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. Quote Link to comment Share on other sites More sharing options...
cfemocha Posted April 8, 2006 Author Share Posted April 8, 2006 thank you for your reply. Im still configuring the code downloaded from the link you suggested .. dont seem to work so far tho. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.