Changeset 398
- Timestamp:
- 05/11/10 14:56:06 (15 years ago)
- Location:
- trunk/cgi-bin
- Files:
-
- 1 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/admin.cgi
r370 r398 112 112 <a href="freespace.pl">Free space</a>: List total and aggregate free space. Does not 113 113 include private networks (192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8) 114 <hr>(r)WHOIS<br> 115 <a href="list-cust.php">List customer data for WHOIS</a> - data used for blocks with the SWIP box checkmarked. 116 Links to edit/add data are on this page. 114 117 ); 115 118 } else { -
trunk/cgi-bin/editcust.php
r343 r398 20 20 <form action=updatecust.php method=post> 21 21 <? 22 $db_conn = pg_connect("dbname=ipdb user=ipdb password=ipdbpwd ");22 $db_conn = pg_connect("dbname=ipdb user=ipdb password=ipdbpwd host=ipdb-db"); 23 23 24 24 if (!$db_conn) { 25 25 echo ("<H1>Failed connection to db ipdb. Can't continue.</H1>"); 26 echo "db err: ". pg_last_error() ."\n"; 26 27 exit; 27 28 } -
trunk/cgi-bin/list-cust.php
r343 r398 27 27 </form> 28 28 <? 29 $db_conn = pg_connect("dbname=ipdb user=ipdb password=ipdbpwd ");29 $db_conn = pg_connect("dbname=ipdb user=ipdb password=ipdbpwd host=ipdb-db"); 30 30 31 31 if (!$db_conn) { 32 32 echo ("<H1>Failed connection to db ipdb. Can't continue.</H1>"); 33 echo "db err: ". pg_last_error() ."\n"; 33 34 exit; 34 35 }
Note:
See TracChangeset
for help on using the changeset viewer.