Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use DBI; use CGI::Carp "fatalsToBrowser"; # Output errors to browser use CGI qw(:standard); # Saves loads of work $CGI::POST_MAX=1024 * 150; # limit post data $CGI::DISABLE_UPLOADS = 1; # Disable uploads use ehr_config; ($dbname_ss, $dbname_ba, $dbip, $dbuser, $dbpass, $dbtype) = initDbase +; ($cgidir, $imgdir, $template_dir, $table_color, $writedir)= initDirBas +e; $dbh = DBI->connect("dbi:$dbtype:nehnu:$dbip", "$dbuser", "$d +bpass"); $dbh_base_app = DBI->connect("dbi:$dbtype:$dbname_ba:$dbip", "$dbuser" +, "$dbpass");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to use DBD::SQLite
by dragonchild (Archbishop) on Jul 15, 2004 at 13:49 UTC | |
|
Re: how to use DBD::SQLite
by cchampion (Curate) on Jul 15, 2004 at 14:15 UTC | |
|
Re: how to use DBD::SQLite
by gellyfish (Monsignor) on Jul 15, 2004 at 13:40 UTC | |
|
Re: how to use DBD::SQLite
by knoebi (Friar) on Jul 15, 2004 at 13:42 UTC |