Peace, I saw a chat Program on the Net...
The Messages In it automatically shows itselves without reloading the web-page..
I saw that and I wondered....
Does Any one know how to do that?

Recommended Answers

All 3 Replies

Peace, I saw a chat Program on the Net...
The Messages In it automatically shows itselves without reloading the web-page..
I saw that and I wondered....
Does Any one know how to do that?

It's not using a database, it's most likely using AJAX or it's Java applet

Actually a few days ago i got bored and thought since they block anything fun at school I would make a chat program to talk with friends. It uses php, mysql database, and a little ajax. Its very simple to do in fact.

Actually a few days ago i got bored and thought since they block anything fun at school I would make a chat program to talk with friends. It uses php, mysql database, and a little ajax. Its very simple to do in fact.

I've done that, too.
I'd like to rewrite one with better AJAX, but I can't write a script to cache everything. Plus, takes too much bandwidth SELECTing every [last] messages from the database. :/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.