I need a quick check so I'm on the right track. Since I'm not used to
PHP I tend to assume things as I read them. Have I missed anything in
my conversion from PHP to Lasso below?
PHP
------------------
function invoice_digest($eid, $pno, $secret) {
$string = $eid . ":" . $pno . ":" . $secret;
return md5_base64($string);
}
Lasso
------------------
[var: 'key' = $eid+':'+$pno+':'+$secret]
[var: 'invoice_digest' = (Encrypt_MD5: $key)]
Perhaps it could even be: [var: 'invoice_digest' = (Encrypt_MD5: $eid
+':'+$pno+':'+$secret)] ?
/David
--
This list is a free service of LassoSoft:
http://www.LassoSoft.com/Search the list archives:
http://www.ListSearch.com/Lasso/Browse/Manage your subscription:
http://www.ListSearch.com/Lasso/