/[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

Diff of /inc/conn.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Fri Aug 3 09:12:42 2001 UTC revision 1.2 by ravilov, Thu Aug 30 16:35:36 2001 UTC
# Line 4  Line 4 
4          $DBUser = "ravilov";          $DBUser = "ravilov";
5          $DBPassword = "";          $DBPassword = "";
6    
         include_once("inc/global.php");  
7          include_once("inc/class.DBI");          include_once("inc/class.DBI");
8          $dbh = new DBI("dbi:Pg:$DBName;host=$DBHost", $DBUser, $DBPassword);          $dbh = new DBI("dbi:Pg:$DBName;host=$DBHost", $DBUser, $DBPassword);
9          if (!$dbh) error("Cannot connect to DB $DBName@$DBHost as user $DBUser");          if (!$dbh) error("Cannot connect to DB $DBName@$DBHost as user $DBUser");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26