|
|
|
|
Using
Perl - Practical extraction and report language:
Perl
is the programming language of choice for writing Web server
applications, used for creating interactive forms and a slew
of other CGI programs.
Preconfigured scripts are customized, edited in note pad,
like most other scripts. Uploading your script Put your cgi-bin scripts in the www subdirectory named "cgi-bin". The "bin" part alludes to the binary executables that result from compiled or assembled programs.
CGI's can also be Unix shell scripts or interpreted languages
like Perl. Setting file permissions chmod
the file - change mode Pick up a script and practice: While Perl scripts are available free of charge all over the Internet, the absolute best place I have found to pick up a friendly beginner script is Bignosebird.com http://www.bignosebird.com/ You will absolutely want to check out The Most Simple Intro to CGI: http://www.bignosebird.com/lscgi.shtml You will also want to check out Introducing the FORM: http://www.bignosebird.com/formls1.shtml In class we will talk about the survey script: Take Questy's Surfer Survey (CGI from BignoseBird.com) --> http://questy.us/survey/survey.htm View Questy's User Survey Results --> http://questy.us/cgi-bin/survey/survey.cgi?survey_name=survey Many times you'll need to know what's on your server, but either don't know, don't know how to find out, or don't want to bother your system administrator. Perl Diver is a cool script that helps you by digging into your server's perl installation and giving you the information you need. Check it out on my site: http://questy.us/cgi-bin/perldiver.cgi
|
|
|
|
![]() |
Welcome
to the World of Questy |