ttobin333
asked on
ASP mail form
Dear Experts,
I have a web page that allows visitors to complete a form and send the information to our support email address. We have been getting a lot of spam, most of which contains URL's.
What is the best way to detect the presence of "http://" in a field and silently not send the email without giving an error message? I have tried using the Instr function but I don't think I am using it correctly.
Thanks!
I have a web page that allows visitors to complete a form and send the information to our support email address. We have been getting a lot of spam, most of which contains URL's.
What is the best way to detect the presence of "http://" in a field and silently not send the email without giving an error message? I have tried using the Instr function but I don't think I am using it correctly.
Thanks!
Is there a possibility that real people may send you a link? If so your logic would be bad.
But anyway these are bots not real people, they don't care if it seems like the email was sent - follow Monty's advice and you will eliminate 99% of this
(no points for this)
But anyway these are bots not real people, they don't care if it seems like the email was sent - follow Monty's advice and you will eliminate 99% of this
(no points for this)
ASKER
Thanks, guys.
My software also uses the same page to send automated license registration notifications, so I would need to be able to bypass the Captcha with a "secret switch". Any suggestions on that?
My software also uses the same page to send automated license registration notifications, so I would need to be able to bypass the Captcha with a "secret switch". Any suggestions on that?
either create a condition where the captcha only appears after a given condition...
OR
move your notification logic to it's own page.
I would probably choose the latter option if it's not a huge undertaking. Separating different bits of functionality is a lot easier to maintain than if everything is dumped in to one page
OR
move your notification logic to it's own page.
I would probably choose the latter option if it's not a huge undertaking. Separating different bits of functionality is a lot easier to maintain than if everything is dumped in to one page
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You'll find that reCaptcha is actually easier to use these days and invariably you'll get an easy to read image (if they suspect you are a bot they will send an harder to read image).
I find most times I get just a few numbers to type in.
I find most times I get just a few numbers to type in.
ASKER
Can you assist with the ASP code for Captcha?
They have samples/'what to do' on the site when you register
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Very helpful, thank you!
http://www.captcha.net