/[locfinder]/locfinder/action/login.php
ViewVC logotype

Diff of /locfinder/action/login.php

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

revision 1.2 by yob, Thu Jan 16 05:13:29 2003 UTC revision 1.3 by yob, Thu Jan 16 05:43:51 2003 UTC
# Line 27  Line 27 
27   *   *
28   ***************************************************************************/   ***************************************************************************/
29    
 echo "balh";  
   
30      $login_success = login($_POST["username"], md5($_POST["password"]));      $login_success = login($_POST["username"], md5($_POST["password"]));
31    
32      if ($login_success ) {      if ($login_success) {
33    
34          session_start();          session_start();
35          $_SESSION["logged_in"] = $_POST["username"];          $_SESSION["logged_in"] = $_POST["username"];
36    
37          header("location:http://" . $opt_server . $opt_loc_path . "index.php");          header("location:http://" . $opt_server . $opt_loc_path . "index.php?page=front");
38    
39      } else {      } else {
40    

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

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26