dbts form processor
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
dbts form processor
how can i create a password field and make it save with md5 (encrypt) using the DBTS form processor
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: dbts form processor
You will need to use the "Custom processing" properties, to add the necessary code to MD5 encrypt a given field value.
www.dbtechnosystems.com
Re: dbts form processor
yes i know i have already be able to make the | as a separator by putting a special code using the before error section
but i do not know what code to use for making a password in md5 and in wich section exactly of the custom processing !. what about the name of the field should i use ?
but i do not know what code to use for making a password in md5 and in wich section exactly of the custom processing !. what about the name of the field should i use ?
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: dbts form processor
Use (just an example) a field in the form named "pass".
Then use the following code (haven't tested it):
$_POST["password"] = md5($_POST["pass"]);
in the "Start of Script Custom Processing" section.
This will create a "password" value equal to the md5 of "pass".
Also, it will add it in the $_POST superglobal JUST AS if it had been submitted directly from the form.
If you wish to destroy the "pass" value so it will not be stored in the database in clear (non encrypted) format, for security reasons, you should add a second line of code as follows:
$_POST["password"] = md5($_POST["pass"]);
unset ($_POST["pass"]);
Then use the following code (haven't tested it):
$_POST["password"] = md5($_POST["pass"]);
in the "Start of Script Custom Processing" section.
This will create a "password" value equal to the md5 of "pass".
Also, it will add it in the $_POST superglobal JUST AS if it had been submitted directly from the form.
If you wish to destroy the "pass" value so it will not be stored in the database in clear (non encrypted) format, for security reasons, you should add a second line of code as follows:
$_POST["password"] = md5($_POST["pass"]);
unset ($_POST["pass"]);
www.dbtechnosystems.com
Re: dbts form processor
yessssssssssssssss, Thank you Naval, it work very well !