Changeset 142
- Timestamp:
- 01/28/05 14:04:55 (20 years ago)
- Location:
- trunk/cgi-bin
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/consistency-check.pl
r106 r142 11 11 12 12 use DBI; 13 use IPDB 2.0 qw(:ALL);13 use MyIPDB; 14 14 use NetAddr::IP; 15 15 16 ($dbh,$errstr) = connectDB ("ipdb", "ipdb", "ipdbpwd");16 ($dbh,$errstr) = connectDB_My; 17 17 18 18 # Schlep up the masters -
trunk/cgi-bin/freespace.pl
r119 r142 11 11 12 12 use DBI; 13 use IPDB 2.0 qw(:ALL);13 use MyIPDB; 14 14 use NetAddr::IP; 15 15 16 ($dbh, errstr) = connectDB("ipdb", "ipdb", "ipdbpwd");16 ($dbh,$errstr) = connectDB_My; 17 17 18 18 print "Content-type: text/plain\n\n"; -
trunk/cgi-bin/main.cgi
r138 r142 14 14 use DBI; 15 15 use CommonWeb qw(:ALL); 16 use IPDB 2.0 qw(:ALL);16 use MyIPDB; 17 17 use POSIX qw(ceil); 18 18 use NetAddr::IP; … … 37 37 my $sth; 38 38 my $errstr; 39 ($ip_dbh,$errstr) = connectDB ("ipdb", "ipdb", "ipdbpwd");39 ($ip_dbh,$errstr) = connectDB_My; 40 40 if (!$ip_dbh) { 41 41 printAndExit("Failed to connect to database: $errstr\n"); -
trunk/cgi-bin/newcity.cgi
r139 r142 15 15 use DBI; 16 16 use CommonWeb qw(:ALL); 17 use IPDB 2.0 qw(:ALL);17 use MyIPDB; 18 18 #use POSIX qw(ceil); 19 19 use NetAddr::IP; … … 34 34 cleanInput(\%webvar); 35 35 36 my ($dbh,$errstr) = connectDB ("ipdb", "ipdb", "ipdbpwd");36 my ($dbh,$errstr) = connectDB_My; 37 37 my $sth; 38 38
Note:
See TracChangeset
for help on using the changeset viewer.