CGI

John Abreau jabr at blu.org
Tue Apr 27 18:47:24 EDT 1999


On Sun, 25 Apr 1999 kyle at breezy.com wrote:

> What are some good tutorials out there CGI???

Hi, Kyle.

The basics of CGI are extremely simple. For output, take an existing html
page and prepend "Content-type: text/html\n\n" to it. For input, there are
two methods, "GET" and "PUT", which are encapsulated in most toolkits.

I assume you'll be using perl for your scripts, in which case you'll want
to use the CGI module that's a standard part of the Perl distribution.
I'd also recommend upgrading to the latest stable version of perl, which
is currently 5.005_03.

To invoke the script from a form: 
	<form method=post action="http://server/script.cgi">

The command "perldoc CGI" will show you a man page for the CGI perl
module, which should get you up to speed with a little practice. 

--
John Abreau / Executive Director, Boston Linux & Unix 
Email: jabr at blu.org / URL: http://www.blu.org
ICQ#28611923 / AIM abreauj
-----------------------------------------------------------------------
    Your mouse has moved. Windows NT must be restarted for the change
    to take effect. Reboot now?  [ OK ]
-----------------------------------------------------------------------



-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list