#!/usr/local/bin/perl # +-----------------------------------------------+ # | isorder.cgi -- Internet Secure Order form | # | | # | Author : Ryan William Facer | # | Created On : Monday February 1, 1998 | # | Completed On : Wednesday February 3, 1998 | # | Last Modified By : Ryan William Facer | # | Last Modified On : Wednesday February 3, 1998 | # | Update Count : 0 | # | E-Mail : cattails@cattails.ca | # +-----------------------------------------------+ $numproducts = 3; # Variable holding the number of user data fields $maxitemlength = 45; # Length in chars of longest item (used for formatting) $totalordered = 0; # Total number of products ordered # ******************************* # We include the cgi-lib.cgi file # ******************************* do "cgi-lib.cgi" || die "Content-type: text/plain\n\nError loading cgi-lib\n"; # ************************************************* # Now we call the subroutine in cgi-lib.cgi to read # in the variables from the form and set them up as # 'key'='value' pairs in the array @in # ************************************************* &ReadParse; print "Content-type: text/html\n\n"; # **************************************************** # Print out the top of the HTML page that will be seen # **************************************************** print "\n"; print "