?
Solved

PHP chat for instant messaging (individual chat)

Posted on 2011-09-05
7
Medium Priority
?
964 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
 

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

650 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