From: Geoff Torres <geoff@rosemail.rose.hp.com>
To: linux-admin@vger.kernel.org
Subject: Re: difference btw CGI and HTML scripts
Date: Tue, 19 Nov 2002 09:09:28 -0800 [thread overview]
Message-ID: <3DDA7048.60D9D6CC@rosemail.rose.hp.com> (raw)
In-Reply-To: 20021118114252.B27228@zerodivide.cx
Tyler wrote:
>
> On Mon, Nov 18, 2002 at 04:01:23PM +0800, simon Shaw wrote:
> > Hi..
> >
> > Could you tell him what is the difference between HTML and CGI scripts??
> > What is the relationship between them? When we need to create CGI script in
> > /var/www/cgi-bin/ compare to the html scripts in /var/www/html/*.html
> >
> > Simon
> >
>
> Look, I don't mean to sound harsh here, but if you can't figure this out
> yourself by reading the available documentation, an answer from someone
> on this list is probably not going to be meaningful or useful to you.
It might sound a little less harsh if you provide a pointer for him.
Simon, what Tyler is saying (and I agree) is that the nature of your question shows how little you know about HTML in general and no one here really has the time to provide a tutorial for you. I would suggest a class or online tutorial to get you up to
speed. I first started with the O-Reilly books for basic HTML web pages. There are many other good books available.
The short, high-level (and incomplete) answer to your question is that HTML code is essentially the I/O of a web page and CGI scripts are the logic. A web page will collect user data and invoke the CGI script when you push the "submit" button. The script
should output the results in HTML code.
Geoff
next prev parent reply other threads:[~2002-11-19 17:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 8:01 difference btw CGI and HTML scripts simon Shaw
2002-11-18 16:42 ` Tyler
2002-11-19 17:09 ` Geoff Torres [this message]
2002-11-19 20:34 ` Linux Backups Ed Walsh
2002-11-19 20:46 ` Marshall Lake
2002-11-19 20:51 ` terry white
[not found] ` <3DD9414B0000536D@vader.se.ilan.cogent.net>
2002-11-19 21:09 ` Ed Walsh
2002-11-19 21:55 ` Milan P. Stanic
2002-11-20 9:06 ` Agus Budy Wuysang
2002-11-20 14:20 ` Storage systems Miguel González Castaños
2002-12-10 16:19 ` terminal problems with escape characters Miguel González Castaños
2002-12-11 1:04 ` dashielljt
2002-12-11 8:54 ` Miguel González Castaños
2002-12-12 1:11 ` dashielljt
2002-11-20 13:36 ` Linux Backups djh
2002-11-20 2:43 ` difference btw CGI and HTML scripts Michael Luevane
2002-11-18 18:18 ` - Luis -
2002-11-19 20:43 ` terry white
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DDA7048.60D9D6CC@rosemail.rose.hp.com \
--to=geoff@rosemail.rose.hp.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).