Decs Logo

 

Application for a CGI directory

Please answer the following questions, to show that you FULLY understand our policies regarding CGI usage at the College of Engineering.

If you are not ready at this time, please read the CGI Policy again.

If you fail to answer them correctly, you will be redirected to the policy so you can review the information for which you will be held accountable.

  1. The main problem regarding CGI's is:
    The non-conventional nature of CGI programming
    Difficulty of perl or other programming languages
    Security
    Perl being an interpreted language, cannot compiled one
  2. To minimize this problem while coding in the PERL language, I will use this perl interpreter to run my scripts
    /opt/bin/perl -T
    /opt/bin/perl
  3. I will use someone else's scripts only if:
    It has been tested and trusted
    I understand it
    I find it and it suits my purpose
  4. I will use Server Side Includes
    In moderation, because it puts an extra load on the server
    As much as I like, since it adds so much functionality to my page
  5. Which of these should be used regarding echoing variables in your scripts, and why?
    echo QUERY_STRING = '$QUERY_STRING'
    This avoids any security problem
    echo QUERY_STRING = "$QUERY_STRING"
    Quotation marks " " prevents others from gaining access to files without permission
    echo QUERY_STRING = $QUERY_STRING
    Quotation marks ("" OR '') allows others to gain access to files without permission