From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Luevane" Subject: RE: difference btw CGI and HTML scripts Date: Tue, 19 Nov 2002 18:43:40 -0800 Sender: linux-admin-owner@vger.kernel.org Message-ID: References: <3DDA7048.60D9D6CC@rosemail.rose.hp.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3DDA7048.60D9D6CC@rosemail.rose.hp.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Additionally, you might look at http://www.htmlgoodies.com. |> -----Original Message----- |> From: linux-admin-owner@vger.kernel.org |> [mailto:linux-admin-owner@vger.kernel.org]On Behalf Of Geoff Torres |> Sent: Tuesday, November 19, 2002 9:09 AM |> To: linux-admin@vger.kernel.org |> Subject: Re: difference btw CGI and HTML scripts |> |> |> 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 |> - |> To unsubscribe from this list: send the line "unsubscribe linux-admin" in |> the body of a message to majordomo@vger.kernel.org |> More majordomo info at http://vger.kernel.org/majordomo-info.html