Commenting back to this thread, Jason i little question, it has worked very good for me but i been consern about security on the websites do you think if i instead have the old password in a hidden field can i call it directly from the database for example
Jasons code
<?php echo ((isset($_POST["pass"]) && $_POST["pass"] != "")?WA_SHA1Encryption($_POST["pass"]):"".$_POST["oldp"].""); ?>
Question code
<?php echo ((isset($_POST["pass"]) && $_POST["pass"] != "")?WA_SHA1Encryption($_POST["pass"]):"".$recordset["xypassword"].""); ?>
im gonna give it a try tonight if it works ill post back
Yes it works!!!