[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] add new account to userdb
****** message to minivend-users from Roman Gavrilov <romio@zahav.net.il> ******
hello i having problem with adding new user to userdb
it registering him and remembers him 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
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]
[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