Im new with perl. I creating a registration page, my problem lies in validating input data (which i want to acheive through perl)."if($fields[$i] !~ /[aA-zZ0-9]+/)"
I basicly , only want to only allow numeric and char, to be allowed, but it still accepts *-()" ect..
Can any one help.
if($i == 3)
if($fields[$i] !~ /[aA-zZ0-9]+/)
$errors1[$i] = 6;
if ($fields[$i] == "")
$errors1[$i] = 0;
view this page for information.