/[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.5 - (show annotations)
Sat Oct 27 16:54:50 2001 UTC (17 years, 10 months ago) by ravilov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
Rearranged the menu system on plivamed.net. Other fixes/improvements.

1 <?php
2 $DBName = "PlivaHealth";
3 #$DBHost = "dpavlinusic1.pliva.hr";
4 $DBHost = "rem.pliva.hr";
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