472,133 Members | 1,153 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

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 5848
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.