473,785 Members | 3,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5956
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*****@juliet remblay.com.inv alid> wrote in message news:<0a******* **************@ bgtnsc04-news.ops.worldn et.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******@hotmai l.com (Gooshi) writes:
Brian <us*****@juliet remblay.com.inv alid> 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************ *************@p osting.google.c om>,
ng******@hotmai l.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.co m> wrote in message
news:MP******** *************** *@free.teranews .com...
In article <6b************ *************@p osting.google.c om>,
ng******@hotmai l.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.*********@com cast.net
says...

"Mr.Clean" <mrclean@p&g.co m> wrote in message
news:MP******** *************** *@free.teranews .com...
In article <6b************ *************@p osting.google.c om>,
ng******@hotmai l.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.*********@com cast.net
says...

"Mr.Clean" <mrclean@p&g.co m> wrote in message
news:MP******** *************** *@free.teranews .com...
In article <6b************ *************@p osting.google.c om>,
ng******@hotmai l.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2548
by: Ali | last post by:
I'm trying to write a really basic chat program that allows 2 client programs to send messages to each other via a server. I've managed to write the code so that both clients can connect to the server and send and recieve messages to/from the server but when I send a message from one client I can't get the message to appear in the second client. I think it's something to do with threads but I don't know what! I've been looking at the...
4
1714
by: M O J O | last post by:
Hi, I'm developping a chat/client/server program, but I can't figure out how to do this. I've tried severeal chat examples, but no good and fully working examples. I've spend too much time now trying to figure it out, therefor I'm looking for buying components that can do this: * A client and server component.
4
2097
by: Leo Muller | last post by:
Does anyone know where I can find an example chat program in VB.NET? Thanks in advance, Leo Muller
2
1559
by: Ahmed | last post by:
Hello everyone, I am designing a chat program for a company. The program will be used locally(through lan). I am progamming the chat program using VB.NET windows application. Lets consider the following scenario: Clients want to ask salespersons questions about products. A salesperson can handle more than one customer at a time (depending on his/her preferences). I finished the the client progarm and the sales person program. I am...
0
1162
by: HaggardSmurf | last post by:
Alright well I had a question before when i was a noob and posted here and got such a great response this has become my main vb site. Anyways I have a comp that cant run msn due to it being a piece of crap :P so I decided to make a chat client with winsock and direct ip's. Basically what it does is gives you the option of connecting to the ip or listening for incomming connections from an ip. The problem is i cant get winsock to send a...
4
2480
by: nbt725 | last post by:
Dear Sir, Hello ! I want 1 to 1 chat script in php between client coming to site to chat with admin. And admin can chat with multiple client.There can be multiple admin. I want to disable login window also would supply login details if required thro' script/existing database. I saw many free php chat scripts but they are many to many like messenger where as in this sort of requirement when customer comes and wants to chat with service...
4
3934
by: shreedhan | last post by:
hi i am trying to write a simple client server chat program. the code of server program is: #define PORT 9999 int main() { struct sockaddr_in server_addr,client_addr;
1
24526
eyeofsoul
by: eyeofsoul | last post by:
i have build the gui but i am having problem with implementing the tcp/udp. can somebody help me. i have server and client. the server can chat with the client. when i tried to to use the udp of tcp the gui seems hangs.. this is the code for server package ds; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.*; import java.net.*;
3
2186
by: John Dalberg | last post by:
I am looking for an asp.net based chat software. I have looked at some (asp.net and php based) and they consist usually of a javascript piece where the web user (visitor) initiates a chat from a web page, an operator client which is usually a desktop app or browser based and the server part which serves as a controller between the operator and visitor, sending and receiving the chat text between them. What I have noticed is that the...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10148
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3646
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.