I am trying to come up with a script that will put out ******** instsead of showing the password.
This is waht I am working with. I checks that the password is valid and if it is valid it will show the password
if ($_POST['EmailAddress'] == '')
$EmailAddress = '<span style="color:red;">Email Address omitted.</span>';
$EmailAddress = $_POST['EmailAddress'];
if (!preg_match("/^([a-zA-Z0-9])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/", $_POST['EmailAddress']))
die("Invalid e-mail address");
I tried adding this but not having any luck getting it to work.
$Password1 = 'Password1';
$hash = crypt($Password1);