I solved Cryptographic Issues

This commit is contained in:
Paula V. Quispe
2015-03-26 11:22:37 -04:00
parent ef261316b0
commit 055082cec2
18 changed files with 29 additions and 29 deletions

View File

@@ -180,7 +180,7 @@ if( isset($request) ){
$gKey = (int)$row['lastId'] + 1;
} else {
$gKey = md5(date('Y-m-d H:i:s').'@'.rand());
$gKey = G::encryptOld(date('Y-m-d H:i:s').'@'.rand());
}
$rs = $con->executeQuery("INSERT INTO {$_GET['table']} ({$_GET['pk']}, {$_GET['fld']}) VALUES ('$gKey', '{$_GET['value']}');");