#!/usr/bin/perl -w
#
-# $Id: registerd.Pg,v 1.8 2001-04-26 02:23:27 ivan Exp $
+# $Id: registerd.Pg,v 1.10 2001-09-30 07:55:52 ivan Exp $
use strict;
use vars qw(
my $username = $row->{'username'};
my $email = $row->{'passwd'};
- my $pdbh = DBI->connect( 'DBI:Pg:host=localhost;database=demo_template', 'freeside', 'maelcolm' )
+ my $pdbh = DBI->connect( 'DBI:Pg:host=localhost;dbname=demo_template', 'freeside', 'maelcolm' )
or do { &myerr("$username: ". $DBI::errstr); next; };
my $psth = $pdbh->prepare("CREATE DATABASE demo_$username")
"\n",
"Your sample Freeside database has been setup.\n",
"\n",
+ "Your login and database will be automatically deleted in 1-2 months.\n",
+ "\n",
"Point your web browswer at http://freeside.sisd.com/ and use the following\n",
"authentication information:\n",
"\n",