Problems 13
Home Up Review Problems 1 Problems 2 Problems 3 Problems 4 Problems 5 Problems 6 Problems 7 Problems 8 Problems 9 Problems 10 Problems 11 Problems 12 Problems 13 Problems 14 Problems 15 Problems 16 Subnets

 

Perl CGI Scripting

Due: Wednesday January 6, 1999

Purpose:

Familiarize yourself with installing and using simple Perl CGI scripts.

Assignment:

Copy and edit the script ~ian/today.cgi to insert your name instead of mine.  Upload the script to your cgi-bin directory on NETSRV.  Make sure it works.

Copy and modify my script ~ian/happy.cgi to call the "today.cgi" script as a link by inserting the following HTML lines into the body of your happy.cgi script:

    <P>
    <A href="today.cgi">
    Click here to find out about today.
    </A>

Upload the script to NETSRV.  For an example of how it might look, see it working here:

    http://www.algonquincollege.com/cgi-bin/happy.cgi 
    http://www.algonquincollege.com/cgi-bin/today.cgi 

Hand In: 

Send me an email message with the URL of your finished script on NETSRV when you are done.

Additional material:

  Understanding and using FTP URLs:

    http://www.hotwired.com/webmonkey/geektalk/96/46/index3a.html?tw=backend

  Re-using Perl code:

    http://www.hotwired.com/webmonkey/geektalk/96/34/index3a.html?tw=perl