NEIU CGI Workshop Web Page: form.cgi page

Materials to help you implement the Form Processor script.

The form.cgi Script

  • the script
    you must customize the "Require Libraries and Parse Form Data" section

    The Required Scripts

    The required script files and library files are:

    • form.cgi (the script itself)
    • cgi-lib.sol
    • cgi-lib.pl
    • mail-lib.pl
    • form.setup

    The data file

    You must create a data file. I recommend creating a data sub-directory inside the directory in which you place your script and libraries, and then create a data file within that.

    The permissions

  • the script: use "chmod 777 form.cgi"
  • form.setup: use "chmod u+w form.setup"
  • mail-lib.pl: use "chmod u+w mail-lib.pl"
  • cgi-lib.pl: use "chmod u+w cgi-lib.pl"
  • cgi-lib.sol use "chmod u+w cgi-lib.sol"
    Back to NEIU CGI Workshop Main Page