# Web DBI - Tips for the novice

- ## Test one step at a time

  - Test perl + DBI + DBD driver outside the web server first
  - Test web server + non-DBI CGI next

- ## Remember that CGI scripts run as a different user with a different environment - expect to be tripped up by that.

- ## DBI trace() is your friend - use it.

- ## Use the Perl "-w" and "-T" options. Always "use strict;"

- ## Read and inwardly digest the WWW Security FAQ:

  - http://www.w3.org/Security/Faq/www-security-faq.html

- ## Read the CGI related Perl FAQs:

  - http://www.perl.com/perl/faq/

- ## And, if appropriate, read the mod_perl information available from:

  - http://perl.apache.org

Previous slide | Next slide | Back to first slide | View graphic version