note
borisz
You should check that no username match the username_db
<code>
open PAGE, "$data_reg" or die "Can't open $data_reg: $!";
while (my $line = <PAGE>) {
($username_db,$password_db,$email_address_db,$name_db,$spare) = split "\t",$line;
if ($username eq $username_db) {
$check++;
$found_user++;
last; # exit while
}
}
unless ( $found_user ) {
$problem = "Unfortunately we cannot find reference to the username supplied.<br> Please check with the webmaster of this site.";
print "$problem";
exit;
}
close PAGE;
</code>
<div class="pmsig"><div class="pmsig-224409">
Boris
</div></div>
321301
321301