By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,776 Members | 1,400 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,776 IT Pros & Developers. It's quick & easy.

Instant messaging

P: n/a
My Javascript club has been wondering how to make an instant messanging
forum-type thing. A little help would be great. Thank you in advance.

Jul 23 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
check out dChat at
http://www.asgleonberg.de/dchat/ needs PHP but is
nice!
Cheers, Dom
"HTML-JSClub" <fa******@barsoum.com> wrote in
message
news:11**********************@z14g2000cwz.googlegr oups.com...
My Javascript club has been wondering how to
make an instant messanging
forum-type thing. A little help would be great.
Thank you in advance.

Jul 23 '05 #2

P: n/a
Thanks...But, do I need a program to run these php files? I doesn't
open in Internet Explorer.

Jul 23 '05 #3

P: n/a
You'll need to have PHP and MySQL running on the
server that you'll be using. If'n you haven't then
I'm afraid that I'm stuck for suggestions without
further data. What is it that you're after doing?
There are a number of forum scripts out there
including phpBB (Which is nice), I like dChat
because it is so simple and easy to use but
YMMV...? I'm thinking that javascript isn't gonna
do you a great deal on it's own as it's strictly
client-side whereas php is a server-side scripting
language so messages can be stored in a database
(MySQL in this instance) and retrieved by others.
Cheers,
Dom
"HTML-JSClub" <fa******@barsoum.com> wrote in
message
news:11*********************@f14g2000cwb.googlegro ups.com...
Thanks...But, do I need a program to run these
php files? I doesn't
open in Internet Explorer.

Jul 23 '05 #4

P: n/a
The type I'm after is basicly the type you and me are using right now.
Also, if I have a server where from can I download onto it PHP and
MySQL? Or do they come with the server?

BTW, thanks for answering all my questions so patiently.

Jul 23 '05 #5

P: n/a
HTML-JSClub" <fa******@barsoum.com> wrote in
message
news:11**********************@o13g2000cwo.googlegr oups.com...
The type I'm after is basicly the type you and
me are using right now.
Also, if I have a server where from can I
download onto it PHP and
MySQL? Or do they come with the server?

BTW, thanks for answering all my questions so
patiently.


Hey chap, what are you after doing?

Generally speaking (and I'm going right down to
basics here) you have a web-site which is hosted
on a server, if this is a Linux based server then
the chances are that the server software is
Apache, if the hosting provider is any good then
there'll also be programs called PHP (Which is a
server-side scripting language) and MySQL (Which
is a Database) integrated with Apache, this set up
can be called LAMP (Linux, Apache, MySQL and PHP).
There are other ways of setting up servers but
this is my preferred way.

Your web-pages are stored on the server and people
can access them, it's possible to put bits of
programs in your page and they'll do all sorts of
fancy things on the client's machine, these
programs are usually written in javascript.

So we've possibly got 2 sorts of scripting
languages now. One that resides and is processed
on the server and that can talk nicely to the
database, the other that resides on the pages you
write and is executed on the client machine. If
you want something with which to communicate with
two or more users of the same page using different
machines then javascript just isn't going do it,
at least not easily.

So we're looking at using a scripting language on
the server, which is where dChat might be useful
as it's a piece of cake to set up (as long as you
have MySQL and PHP) and not all that complicated
if you want to have a learn about what it is
you're doing.

Of course this is a simplistic explanation and I
dare say others will be able to offer alternative
suggestions...

Cheers,

Dom
Jul 23 '05 #6

P: n/a
Oh. I get it now! Thanks for all your help Dom. See ya

Jul 23 '05 #7

P: n/a
Sorry to ask more questions but how do I make dchat work?
Do I need to make a .htm file? If I do, how do I add all the dchat
stuff?

Thank you for your patience, Dom.

Jul 23 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.