spewn
Programmer
- May 7, 2001
- 1,034
here's my script...
In the test-supress.txt file there is:
even when it comes across a match, it's not making them match and/or counting...
any ideas?
- g
Code:
$xError=0;
$checkNm='ogkillabobbyjohnson';
$cfile = "test-supress.txt";
open (COUNTER, "$cfile");
@slist = <COUNTER>;
close (COUNTER);
if ($xError eq 1) {$errorPlural='name';}
else {$errorPlural='names';}
print $cgi->header(-cookie=>$cookie);
foreach $xNm (@slist) {
if (lc $xNm eq lc $checkNm) {$xError++;}
print $sEmail." - ".$checkNm."<br>";
$x22++;
}
print $xError;
In the test-supress.txt file there is:
Code:
johnwatkins
jimpeters
ogkillabobbyjohnson
betsy ross
even when it comes across a match, it's not making them match and/or counting...
any ideas?
- g