Changeset 128 for branches


Ignore:
Timestamp:
01/18/05 14:56:09 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Fixed checkcusts.pl to work with new IPDB.pm interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/checkcusts.pl

    r123 r128  
    1010
    1111use DBI;
    12 use IPDB qw(:ALL);
     12use IPDB 2.0 qw(:ALL);
    1313
    1414# We'll be hosing the server with several thousand queries.  We
     
    2525print "Content-type: text/plain\n\n";
    2626
    27 $dbh = connectDB;
     27($dbh,$errstr) = connectDB("ipdb", "ipdb", "ipdbpwd");
    2828$IDH = DBI->connect ("DBI:Pg:host=billing;dbname=custids", "cidcheck", "c1dch4ck");
    2929$sth = $dbh->prepare("select cidr,custid from searchme where not (custid='6750400') ".
Note: See TracChangeset for help on using the changeset viewer.