/[hr-web]/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.4 by dpavlin, Wed Apr 25 13:18:50 2001 UTC revision 1.5 by dpavlin, Fri May 18 12:51:41 2001 UTC
# Line 1  Line 1 
1  <?php  <?php
2          include("inc/class.DBI");          include("inc/class.DBI");
3          include("inc/stuff.php");          include("inc/stuff.php");
4          function DBOpen($db = "education", $user = "dpavlin", $pass = "", $host = "localhost") {          function DBOpen($db = "education", $user = "dpavlin", $pass = "", $host = "") {
5                  global $DBD, $DBH;                  global $DBD, $DBH;
6                  if ($DBH && $DBH->dbh) return;                  if ($DBH && $DBH->dbh) return;
7                  $str = "dbi:$DBD:$db";                  $str = "dbi:$DBD:$db";

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26