Add An Ajax Instant Messenger To Your Web Projects
11
Feb
ajax im is an ajax chat script that creates a real-time chat environment with a browser based interface.
It can be added to any intranet, website or a social-community project to help users chat with each other. Chat interface does not reload as everything is updated in real-time via JavaScript.
ajax im is also a multilingual script and language files can be found in the script website.
How ajax im works?
The XMLHTTPRequest object allows HTTP requests to be sent to the server and get input back from the server. There are two parts to the client-server interaction through this object:
- The client "pings" the server (a PHP script) for new messages. The server in turn queries a database for any messages for the client, and returns them as JSON. The XMLHTTPRequest object passes this JSON text be parsed by the rest of the JavaScript.
- The client sends data to the server (a PHP script), such as a new message to another user. This data is then processed by the server ("cleaning" the data of any thing invalid) and put into the database, which is later "pinged" by another client.
Requirements: PHP, MySQL
Compatibility: All Major Browsers
Website: http://www.ajaxim.com/
Backend Demo: http://www.ajaxim.net/
Backend Demo - User-Pass: User: test - Pass: test
Download: http://www.ajaxim.com/
Compatibility: All Major Browsers
Website: http://www.ajaxim.com/
Backend Demo: http://www.ajaxim.net/
Backend Demo - User-Pass: User: test - Pass: test
Download: http://www.ajaxim.com/
- Tags:
Ajax Javascript Mysql Php
- Filed under: Chat, Goodies, Other License






9 Responses for "Add An Ajax Instant Messenger To Your Web Projects"
I am planning on using ajax im on my website for my users to chat with each other.
My question is can ajax im allow for users to create their own chatrooms? For example, can I (owner of site) create a list of public chatrooms and can my users also create their own chatrooms privately?
Thank You
-M
Melanie,
As far as I know, it is not a default feature that users can create them but you can pre-define the chat rooms.
May be, playing with the code, you can let them create their own too. I believe it musn’t be that hrd if you’re a developer.
If you can manage to do it, please let me know as it’ll be a great feature.
I downloaded ajax im.
I had a doubt.
I wanted to know do i need to create a database for it.
Im the config file the database name is given as ajaxim.
Wt is to be included in that database.
Plz help me with this.
@srsuhti,
In the downlaod package the file INSTALL has the installation information. Just open it with notepad and you can find the info.
How can I integrate ajax im with my website?
@crzyOH,
I believe you can do this by manipulating or syncronizing your user database with ajax im’s user database.
is it possible to integrate this with my project.
I already have a login page for my project.
I want that if the user is logged in then he should be able to chat thru ajax im.
I dont want to use the login page of ajaxim
Can it be done?
I want the same as shsuhti
I believe this can be done but you need to manipulate the code a bit.
I’m not experienced with ajax im so it is hard to say how easy it is but you can give it a try.
Valid XHTML | Valid CSS
Popular Posts