Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGI



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).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org