I was using preg_replace , to avoid SQL injection:
$senha = preg_replace('/[^[:alpha:]_]/', '',$_POST['senha']);
When comparing the $senha received by POST with the bank password (using SHA1), they are not compatible.
Does a...
asked by
16.12.2015 / 16:46