Ignore:
Timestamp:
05/11/10 14:56:06 (14 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/editcust.php

    r343 r398  
    2020<form action=updatecust.php method=post>
    2121<?
    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");
    2323
    2424  if (!$db_conn) {
    2525    echo ("<H1>Failed connection to db ipdb.  Can't continue.</H1>");
     26    echo "db err: ". pg_last_error() ."\n";
    2627    exit;
    2728  }
Note: See TracChangeset for help on using the changeset viewer.