View Full Version : A project I'd like to do - Instant messaging system.
02-09-2007, 12:39 PM
I need some advices of how to begin this project.
How can I get information from the other user I'm chatting with instantly?
02-10-2007, 11:57 AM
what you could do i load it into a db...
field 1 = id (autonumber)
field 2 = message
field 3 = from
field 4 = to
field 5 = received (1 or 0)
you could then use AJAX scripts to look at the db every 5-10 seconds to see if there is any new messages for a specific user if so download them and display them onscreen. There are examples of AJAX instant messenger out there so i would go and have a look at how they work and decide for yourself.
02-10-2007, 02:28 PM
Oh, Thanks. That's a nice idea.
It doesn't really feet a real chat because in a real chat nothing saves the conversations and it would be kind of complicated to do it with rooms and private messages, don't you think?
Is there any other way of doing that?
02-11-2007, 04:00 PM
Any other ideas? Does anyone know how msn,aim,icq,or any other instant messaging program works? If someone could get me an explanation page about that, it would be great!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.