/[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.18 by sparkyx, Wed Oct 5 14:09:58 2005 UTC revision 1.19 by sparkyx, Wed Oct 5 14:34:30 2005 UTC
# Line 51  if ( isset ($_GET["action"]) ) { Line 51  if ( isset ($_GET["action"]) ) {
51      // Add user      // Add user
52      if ( isset ($_POST["LOGIN"]) ) {      if ( isset ($_POST["LOGIN"]) ) {
53        $cn=DbConnect();        $cn=DbConnect();
54        $pass5=md5($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)                          ,use_usertype)
57                      values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5',                      values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5',

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

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