Changeset 158 for branches/stable/cgi-bin
- Timestamp:
- 02/09/05 15:53:56 (20 years ago)
- Location:
- branches/stable/cgi-bin
- Files:
-
- 7 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/IPDB.pm
r152 r158 7 7 # Last update by $Author$ 8 8 ### 9 # Copyright (C) 2004 - Kris Deugau9 # Copyright (C) 2004,2005 - Kris Deugau 10 10 11 11 package IPDB; -
branches/stable/cgi-bin/admin.cgi
r94 r158 9 9 # Last update by $Author$ 10 10 ### 11 # Copyright (C) 2004,2005 - Kris Deugau 11 12 12 13 use strict; -
branches/stable/cgi-bin/consistency-check.pl
r125 r158 10 10 11 11 use DBI; 12 use IPDB 2.0 qw(:ALL);12 use MyIPDB; 13 13 use NetAddr::IP; 14 14 15 ($dbh,$errstr) = connectDB ("ipdb", "ipdb", "ipdbpwd");15 ($dbh,$errstr) = connectDB_My; 16 16 17 17 # Schlep up the masters -
branches/stable/cgi-bin/extras/db2rwhois.pl
r26 r158 10 10 # Last update by $Author$ 11 11 ### 12 # Copyright (C) 2004,2005 - Kris Deugau 12 13 13 14 use strict; … … 15 16 use DBI; 16 17 use NetAddr::IP; 17 use IPDB qw(:ALL);18 use MyIPDB; 18 19 19 20 $ENV{"PATH"} = "/bin;/usr/bin"; … … 29 30 # ); 30 31 31 my $dbh = connectDB; 32 my ($dbh,$msg) = connectDB_My; 33 34 # For WHOIS purposes this may not be very useful. YMMV, we'll see. 35 #initIPDBGlobals($dbh); 32 36 33 37 my @masterblocks; -
branches/stable/cgi-bin/freespace.pl
r125 r158 8 8 # Last update by $Author$ 9 9 ### 10 # Copyright (C) 2004 - Kris Deugau10 # Copyright (C) 2004,2005 - Kris Deugau 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"; -
branches/stable/cgi-bin/main.cgi
r140 r158 14 14 use DBI; 15 15 use CommonWeb qw(:ALL); 16 use IPDB 2.0 qw(:ALL);16 use MyIPDB; 17 17 use CustIDCK; 18 18 use POSIX qw(ceil); … … 38 38 my $sth; 39 39 my $errstr; 40 ($ip_dbh,$errstr) = connectDB ("ipdb", "ipdb", "ipdbpwd");40 ($ip_dbh,$errstr) = connectDB_My; 41 41 if (!$ip_dbh) { 42 42 printAndExit("Failed to connect to database: $errstr\n"); -
branches/stable/cgi-bin/newcity.cgi
r140 r158 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.