/[phpcompta]/phpcompta/html/admin_repo.php
ViewVC logotype

Diff of /phpcompta/html/admin_repo.php

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

revision 1.19 by sparkyx, Wed Oct 5 14:34:30 2005 UTC revision 1.20 by sparkyx, Tue Oct 25 13:21:13 2005 UTC
# Line 52  if ( isset ($_GET["action"]) ) { Line 52  if ( isset ($_GET["action"]) ) {
52      if ( isset ($_POST["LOGIN"]) ) {      if ( isset ($_POST["LOGIN"]) ) {
53        $cn=DbConnect();        $cn=DbConnect();
54        $pass5=md5($_POST['PASS']);        $pass5=md5($_POST['PASS']);
55        $Res=ExecSql($cn,"insert into ac_users(use_first_name,use_name,use_login,use_active,use_pass        $Res=ExecSql($cn,"insert into ac_users(use_first_name,use_name,use_login,use_active,use_pass)
56                          ,use_usertype)                      values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5')");
                     values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5',  
                     'user')");  
57      } //SET login      } //SET login
58    
59      // Show all the existing user on 7 columns      // Show all the existing user on 7 columns

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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