PHP - Manually work with variables -...

User 2636379 Photo


Registered User
3 posts

Hi,

I am pretty new to WFB.

I need to encrypt password before sending it to Mysql.

I am trying to do it by REDIRECT TO ANOTHER URL option and then using PHP to catch the value with
$variable = $_POST['variable'] but is not working.

Any help will be appreciated
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

You'll need to write your own myformname.php to process the data as the form builder relies on $_SESSIONs to work so they get unset on submission.
On you custom php page you will want to use the md5() function to encrypt the variable.
<?php
$encr_myvariable = "$myvariable_name";
echo md5($encr_myvariable);
?>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.