This triggers the error on every sign up. I'm missing something.$found="0"; @orgs = split /\n/,$good_orgs; foreach $good_orgs (@orgs) { if ($organization =~ /$good_orgs/i) { $found = "1"; } } if ($found eq "0") { &error_suspect_org; }
I should also mention that it is likely an organization will have 2 words from the list. (i.e. Company, LLC).
In reply to Creating a whitelist by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |