Solved

PHP chat for instant messaging (individual chat)

Posted on 2011-09-05
7
904 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
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now