I started with just one field, {'Comments'} to catch unwanted html code and with your help it worked. Now I want to catch the code in the other fields as well, {'addr'} {'name'} so I came up with the following:
# If http or <a href= tags are present abort the message
if ($FORM {'Comments'} || $FORM{'addr'} || $FORM{'name'} =~m/http|h
+tml|HTML|A HREF|a href/i)
{ &html_message;
}
However, no matter what I write with or without html I get sent to the sub routine &html_message. What am I doing wrong?
Thanks in advance, David
Thank you all:
chargrill
hipowls
ikegami
lodin
NetWallah
for your help!
batmanor