/[health_html]/inc/conn.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /inc/conn.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Wed Sep 19 12:23:56 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
Changes since 1.2: +6 -2 lines
Added thefilez/med/ (PLIVAmed site). Other major changes...

1 <?php
2 $DBName = "PlivaHealth";
3 #$DBHost = "dpavlinusic1.pliva.hr";
4 $DBHost = "";
5 $DBUser = "ravilov";
6 $DBPassword = "";
7
8 include_once("inc/class.DBI");
9 $tmp = "dbi:Pg:$DBName";
10 if ($DBHost) $tmp .= ";host=$DBHost";
11 $dbh = new DBI($tmp, $DBUser, $DBPassword);
12 if (!$dbh) error("Cannot connect to DB $DBName@$DBHost as user $DBUser");
13 else $dbh->dbh_do("SET DATESTYLE='ISO'");
14 ?>

  ViewVC Help
Powered by ViewVC 1.1.26