Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] adding data to userdb



******    message to minivend-users from zb <zb@bisp.com>     ******



> Roman Gavrilov wrote:
> 
> hello i having problem with adding new user to user
> It does registering users and remembers them and their session
> i can logout and login with this user but no change in userdb
> i need this for restrict access to directories when i put the .access
> file
> it checking the userdb for usename password and acl
> 
> and i cant register new users in userdb database
> how can i made the program to write and save information in userdb
> file?
> 
> i made the registration form
> <FORM ACTION="[process-target]" METHOD=POST>
>  <INPUT TYPE=hidden NAME=mv_click VALUE=new_account>
>  <INPUT TYPE=hidden NAME=mv_doit  VALUE=return>
>  <INPUT TYPE=hidden NAME=function  VALUE=new_account>
>  <INPUT TYPE=hidden NAME=mv_nextpage VALUE=rom/login>
>         <INPUT TYPE=hidden NAME=mv_subroutine NAME="userdb">
> 
>  <TABLE>
>  <TR><TD ALIGN=RIGHT>Username</TD>
>   <TD><INPUT NAME=mv_username VALUE="[value mv_username]"
> SIZE=10>
>   </TD></TR>
> 
>  <TR><TD ALIGN=RIGHT>Password</TD>
>   <TD><INPUT TYPE=password NAME=mv_password VALUE=""
> SIZE=10>
>   </TD></TR>
> 
>  <TR><TD ALIGN=RIGHT>Verify</TD>
>   <TD><INPUT TYPE=password NAME=mv_verify VALUE=""
> SIZE=10>
>   </TD></TR>
> 
>  <TR><TD></TD>
>   <TD><INPUT TYPE="submit" name="mv_click" VALUE="Log
>   in" SIZE=10><BR>
> 
>   </TD></TR>
>  </TABLE>
> 
>  </FORM>
> 
> and in the next page i did:
> 
> [set New]
> [userdb function=new_account username=[value mv_username]
> password=[value mv_password] verify=[value mv_verify]
> acl=rom/romios]
try add
[tag flag write]userdb[/tag]
[tag export userdb][/tag]
> 
> [userdb function=save]
> [/set]
> 
> or
> 
> [set Save_database]
> mv_arg0=LITERAL(save)
> mv_code=[value mv_username]
> mv_password=[value mv_password]
> mv_acl=rom/romios
> mv_subroutine=userdb
> [/set]
> 
> i tried various suggestions from mailing list
> but nothing helped it still doesn't put anything in userdb
> 
> please help
> 
>
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: