Jump to content
xisto Community
tehyev

Building A Chat Using Javascript, Php, And Ajax

Recommended Posts

I have heard that you can build a chat for a website that would display the username, etc, using PHP, Javascript, and AJAX. So Im wondering how this can be done and if there are any tutorials on how to do it, or tutorials on AJAX. Thank you.

Share this post


Link to post
Share on other sites

There are a couple different ways you could do this using PHP. You could save the things people say in a text file, or in a mysql database, and then have the page refresh every so often to update what is being said. In the cpanel there is a phpmychatroom that you can use. If you want to develop something you can pm me and ill help you along with the PHP. I don't know anything about AJAX, but you can probably google it and find a good tutorial.

Share this post


Link to post
Share on other sites

Here are some links to ajax chats, although I been hearing soem bad stuff about it can't give specifics but their around.

http://forums.xisto.com/no_longer_exists/
https://github.com/brettstimmerman/lace
http://forums.xisto.com/no_longer_exists/

PHP Chat links

http://www.pixel2life.com/tutorials/php_coding/chat_scripts/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.