Ignore:
Timestamp:
01/28/05 14:04:55 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

Wrap connectDB() function in a "module" so we don't get headaches
tracking password changes (if and when). This change *may* get
merged back to IPDB.pm, but it may not so as to allow the HTTP
username to be the user authenticated at the database level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/newcity.cgi

    r139 r142  
    1515use DBI;
    1616use CommonWeb qw(:ALL);
    17 use IPDB 2.0 qw(:ALL);
     17use MyIPDB;
    1818#use POSIX qw(ceil);
    1919use NetAddr::IP;
     
    3434cleanInput(\%webvar);
    3535
    36 my ($dbh,$errstr) = connectDB("ipdb", "ipdb", "ipdbpwd");
     36my ($dbh,$errstr) = connectDB_My;
    3737my $sth;
    3838
Note: See TracChangeset for help on using the changeset viewer.