Hi,
I have an if-statement for checking the value of a variable :
if (!($icname =~ /^[A-Za-z0-9_.]+$/)) {
print "<tr><td>Sorry your IP-Block name cannot contain special
characters</td>${submit}</tr><br>";
$exit ="on";
}
----
Is there a way to find out which character did not meet the requirements ?
I would like to tell the user which character he has entered and cannot be used.
So;
$icname = "123qwerty&";
In the if statement a variable "$specch" needs to contain the "&" character.
Is there any easy way for this ?
Thanks in advance !!
Regs David
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]