I would like to stop spammers that insert a bunch a links in to my contact form.
So I thought I could do something like
<cfif emailContactForm CONTAINS "http">
<cfset error = 1>
</cfif>
If the error equals 1 then don't send the email.
But sometimes I do get real emails with a link in it and I don't want to filter them, so how can I detect if there are more than 1 link in the email to filter those?
So I thought I could do something like
<cfif emailContactForm CONTAINS "http">
<cfset error = 1>
</cfif>
If the error equals 1 then don't send the email.
But sometimes I do get real emails with a link in it and I don't want to filter them, so how can I detect if there are more than 1 link in the email to filter those?