Menu
Me again.
What is the most effective way to secure such data?
I made this, it seems to work, but i dont feel its secure.
[code=php]
function Secure($str){
$arr = str_split($str,1);
$sec = ”;
foreach ($arr as $a){
if ($a >= ‘a’ && $a <= ‘z’ ) $sec = $sec . $a;
elseif ($a >= ‘A’ && $a <= ‘Z’ ) $sec = $sec . $a; }
return $sec; }
Any data i receive should only ever contain letters.
Is this secure?
Could it be better?
Thanks.