/[health_html]/inc/pgPrijava.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/pgPrijava.php

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

revision 1.3 by ravilov, Thu Oct 4 14:59:35 2001 UTC revision 1.4 by ravilov, Tue Oct 23 16:13:59 2001 UTC
# Line 4  Line 4 
4                  // Delete cookies.                  // Delete cookies.
5                  SetCookie("PMusername");                  SetCookie("PMusername");
6                  SetCookie("PMpassword");                  SetCookie("PMpassword");
7                  Header("Location: ?");                  Header("Location: /");
8          } else {          } else {
9                  $error = "";                  $error = "";
10                  if ($prijava) {                  if ($prijava) {
# Line 18  Line 18 
18                          $time = time() + (60 * 60 * 24 * 365 * 2);      // Roughly 2 years from now                          $time = time() + (60 * 60 * 24 * 365 * 2);      // Roughly 2 years from now
19                          SetCookie("PMusername", $username, $time);                          SetCookie("PMusername", $username, $time);
20                          SetCookie("PMpassword", $password, $time);                          SetCookie("PMpassword", $password, $time);
21                          Header("Location: ?");                          Header("Location: /");
22                  } else {                  } else {
23                          // Delete cookies.                          // Delete cookies.
24                          SetCookie("PMusername");                          SetCookie("PMusername");

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

  ViewVC Help
Powered by ViewVC 1.1.26