Hey
I want to do something like this:
<script language="javascript">
function calculatesha()
{
var name = document.getElementById("firstname").value;
var last = document.getElementById("lastname").value;
var complete = name+last;
var hash = <?php echo(sha1(?>complete<?php));?>;
}
</script>
I hope the code is understood even if it is wrong.
Thanks.