Forum Moderators: coopster

Message Too Old, No Replies

Text Chatting after logging in

two users should be able to chat if they are online

         

kkonline

4:53 am on Sep 27, 2007 (gmt 0)

10+ Year Member



Hi,
I am working on an application for which the registered users who have logged on (say A) should be able to chat with another person (say B) when A visits the profile of B.

Till now i am completed the user management system using session and as a programmer i know if A and B have logged in next I want to allow chat between then (similar to gmail perhaps) what should be the logic approach?

Habtom

5:13 am on Sep 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am working on an application for which the registered users who have logged on (say A) should be able to chat with another person (say B) when A visits the profile of B.

I haven't worked on any chat systems yet, but it is unlikely you can achieve this with PHP alone. It is a good bet though that AJAX (PHP + Javascript) could it for you.

UPDATE - You might want to look at this tutorial from Zend: AJAX Chat Tutorial Part 1: Introduction, The Zend Framework [devzone.zend.com]

Habtom

kkonline

5:41 am on Sep 27, 2007 (gmt 0)

10+ Year Member



thanks hab, that was a good tutorial i liked it...