Changeset 135 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 01/26/05 15:30:30 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r130 r135 203 203 ##err Need better handling here; what if there's no free IPs when this sub gets called? 204 204 my @data = $sth->fetchrow_array; 205 my $cidr = $data[1];205 $cidr = $data[1]; # $cidr is already declared when we get here! 206 206 207 207 $sth = $dbh->prepare("update poolips set custid='$custid',". … … 545 545 $mailer->to($recip); 546 546 $mailer->data("From: \"IP Database\" <ipdb\@example.com>\n", 547 "To: $recip\n", 547 548 "Date: ".strftime("%a, %d %b %Y %H:%M:%S %z",localtime)."\n", 548 549 "Subject: {IPDB} $subj\n",
Note:
See TracChangeset
for help on using the changeset viewer.