/[informatika.old]/html/inc/head.inc
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 /html/inc/head.inc

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

revision 1.1 by dpavlin, Fri Mar 17 12:35:18 2000 UTC revision 1.1.1.1.2.4 by dpavlin, Mon Jul 31 18:30:14 2000 UTC
# Line 1  Line 1 
1  <?  <?
2  if ($what == "relogin") {  if ($what == "relogin") {
3          session_destroy();          if (session_is_registered("kontakt_osoba_id")) session_destroy();
4          Header("Location: $PHP_SELF");          Header("Location: $PHP_SELF");
5  }  }
6    
# Line 35  if (isset($md5_passwd) && !session_is_re Line 35  if (isset($md5_passwd) && !session_is_re
35  <?  <?
36          $conn = pg_connect("dbname=informatika user=dpavlin");          $conn = pg_connect("dbname=informatika user=dpavlin");
37          $result=pg_Exec($conn,"set datestyle = 'german'");          $result=pg_Exec($conn,"set datestyle = 'german'");
38    
39            require('class.DBI');
40            if (0) {
41            $dbh = new DBI("dbi:pg:informatika","dpavlin");
42            $dbh->dbh_do("set datestyle = 'german'");
43            } else {
44            $dbh = new DBI("dbi:interbase:/tmp/informatika","dpavlin","dpavlin");
45            }
46            
47  ?>  ?>

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

  ViewVC Help
Powered by ViewVC 1.1.26