View previous topic :: View next topic |
Author |
Message |
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
Posted: Sun May 16, 2004 10:46 am Post subject: what is cgi |
|
|
what is diffrence of cgi to other ones i saw some sites like counter.cgi or something like that and is it related or cgi-bin folder? _________________ Visit http://web26.hopto.org:443/ please help me make my site better http://web26.hopto.org:443/ |
|
Back to top |
|
|
nquin321 -
Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
|
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun May 16, 2004 7:25 pm Post subject: |
|
|
A very good definition from Dictionary.com:
Quote: | A standard for running external
programs from a World-Wide Web HTTP server. CGI
specifies how to pass arguments to the executing program as
part of the HTTP request. It also defines a set of
environment variables. Commonly, the program will generate
some HTML which will be passed back to the browser but it
can also request URL redirection.
CGI allows the returned HTML (or other document type) to
depend in any arbitrary way on the request. The CGI program
can, for example, access information in a database and
format the results as HTML. A CGI program can be any program
which can accept command line arguments. Perl is a common
choice for writing CGI scripts. Some HTTP servers require
CGI programs to reside in a special directory, often
"/cgi-bin" but better servers provide ways to distinguish CGI
programs so they can be kept in the same directories as the
HTML files to which they are related. |
_________________ Bienvenidos! |
|
Back to top |
|
|
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
|
Back to top |
|
|
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Mon Jun 21, 2004 5:47 pm Post subject: |
|
|
hehe my fingers a sore so its hard to click! _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
|
|