Ignore:
Timestamp:
05/11/10 14:56:06 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

Merge add (r343) and updates (r392 and r393) to quick-hack PHP
customer info editor scripts. See #13.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/list-cust.php

    r343 r398  
    2727</form>
    2828<?
    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");
    3030
    3131  if (!$db_conn) {
    3232    echo ("<H1>Failed connection to db ipdb.  Can't continue.</H1>");
     33    echo "db err: ". pg_last_error() ."\n";
    3334    exit;
    3435  }
Note: See TracChangeset for help on using the changeset viewer.