469,268 Members | 981 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,268 developers. It's quick & easy.

html simple chat client - no cgi

Is it possible to write a dead simple html chat client ie one form
that can be accessed by two people :

ie a form that has two text areas
- one for me to write to
- one for another person to write to

both text areas have two buttons
- clear
- submit

On submit I want the html page to be updated.

I think perl etc is out as where I am I dont have cgi-bin available.
I'm on a unix machine and have perl that works but not in cgi-bin
(cant turn this on as not under my control).

eg file content

#!/usr/bin/perl
print "Content-type: text/html\n\n";
$t = "Hello World!";
print $t;

which appears in the browser as:

a) if file name = t.pl
#!/usr/bin/perl
print "Content-type: text/html\n\n";
$t = "Hello World!";
print $t;

b) if file name = t.html
#!/usr/bin/perl print "Content-type: text/html\n\n"; $t = "Hello
World!"; print $t;
Jul 23 '05 #1
7 5778
Gooshi wrote:
Is it possible to write a dead simple html chat client


No. HTML is a markup language, not a programming language. If you want
to know something about cgi, you'll get more useful replies in a cgi,
perl, or php group.

--
Brian (remove "invalid" to email me)
Jul 23 '05 #2
Brian <us*****@julietremblay.com.invalid> wrote in message news:<0a*********************@bgtnsc04-news.ops.worldnet.att.net>...
Gooshi wrote:
Is it possible to write a dead simple html chat client


No. HTML is a markup language, not a programming language. If you want
to know something about cgi, you'll get more useful replies in a cgi,
perl, or php group.


I understand but I dont believe is cgi available to me - thats why I came here.
Jul 23 '05 #3
ng******@hotmail.com (Gooshi) writes:
Brian <us*****@julietremblay.com.invalid> wrote
Gooshi wrote:
Is it possible to write a dead simple html chat client


No. HTML is a markup language, not a programming language. If you want
to know something about cgi, you'll get more useful replies in a cgi,
perl, or php group.


I understand but I dont believe is cgi available to me - thats why I
came here.


Then you're not going to be able to do it. Check to see if you have
CGI. If you don't, check to see if you have ASP, PHP, JSP, or some
other server-side language. If you don't have any of those, get a host
that does.

--
Chris
Jul 23 '05 #4
In article <6b*************************@posting.google.com> ,
ng******@hotmail.com says...
Is it possible to write a dead simple html chat client ie one form
that can be accessed by two people :


Get one of the free java chat clients.
Jul 23 '05 #5

"Mr.Clean" <mrclean@p&g.com> wrote in message
news:MP************************@free.teranews.com. ..
In article <6b*************************@posting.google.com> ,
ng******@hotmail.com says...
Is it possible to write a dead simple html chat client ie one form
that can be accessed by two people :


Get one of the free java chat clients.


That still requires a running application on the server, doesn't it?

Jul 23 '05 #6
In article <2u*************@uni-berlin.de>, h.*********@comcast.net
says...

"Mr.Clean" <mrclean@p&g.com> wrote in message
news:MP************************@free.teranews.com. ..
In article <6b*************************@posting.google.com> ,
ng******@hotmail.com says...
Is it possible to write a dead simple html chat client ie one form
that can be accessed by two people :


Get one of the free java chat clients.


That still requires a running application on the server, doesn't it?

No, they make client side java chat cliens that hook up to a free java
chat server.
Jul 23 '05 #7
In article <2u*************@uni-berlin.de>, h.*********@comcast.net
says...

"Mr.Clean" <mrclean@p&g.com> wrote in message
news:MP************************@free.teranews.com. ..
In article <6b*************************@posting.google.com> ,
ng******@hotmail.com says...
Is it possible to write a dead simple html chat client ie one form
that can be accessed by two people :


Get one of the free java chat clients.


That still requires a running application on the server, doesn't it?


Here's one
http://www.freejavachat.com/
Jul 23 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by M O J O | last post: by
4 posts views Thread by Leo Muller | last post: by
4 posts views Thread by nbt725 | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.