sriramvemaraju2000
asked on
PHP chat for instant messaging (individual chat)
I am trying to create a chat server for my website using php where users can follow someone and if he/she is online they can instantly chat with that person by clicking on chat option(just like the chats in gmail and FB). I am a beginner in php. Can anybody help me with how to create this kind of chat . i am not understanding how the user gets the chat message in a pop up window when the other user sents a message. Any kind of help is appreciated.
ASKER
Thank you so much for the links. i am looking for only private chatting. i dont want to enter into a chat room and then start a private chat. Do you know any such software that i can integrate with my website.
ASKER
can you tell me how to integrate that with my website... I am using PHP and mysql as database... The table contains the user login details....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A comet server (e.g. the one suggested by leakim971 is a fairly complicated system, not for the faint of heart to get setup and running. Some sysadmin + PHP gurus would have a rough time getting all of it setup and running.
I would echo OmniUnlimited's suggestion of using PHP Free Chat [ http://www.phpfreechat.net/ ]. If you need to setup "private" rooms and the software isn't setup for that, just use a dynamic URL that only allows the two selected users access, like "http://www.mysite.com/chat/private/pc93214" (try to avoid making a guessable URL, like with serial ID's).
I would echo OmniUnlimited's suggestion of using PHP Free Chat [ http://www.phpfreechat.net/ ]. If you need to setup "private" rooms and the software isn't setup for that, just use a dynamic URL that only allows the two selected users access, like "http://www.mysite.com/chat/private/pc93214" (try to avoid making a guessable URL, like with serial ID's).
http://www.phpfreechat.net/