Solved

PHP chat for instant messaging (individual chat)

Posted on 2011-09-05
7
921 Views
Last Modified: 2012-08-13
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.

0
Comment
Question by:sriramvemaraju2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 36484559
I think you better look at this:

http://www.phpfreechat.net/
0
 
LVL 82

Expert Comment

by:leakim971
ID: 36484561
0
 

Author Comment

by:sriramvemaraju2000
ID: 36484655
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.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 82

Expert Comment

by:leakim971
ID: 36484675
0
 

Author Comment

by:sriramvemaraju2000
ID: 36484861
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....
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36484870
sincerely no, there's a lot of work and not a package to deploy
0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 36488871
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).
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question