December 9, 201114 yr Hi all, Never made a form before and just got a basic form working with formmail free php code. My question is what do I need to be aware of? I'm worried about spam and security but don't know where to start with this. It's only for a basic static site with a cms. Many thanks!
December 9, 201114 yr Use a honeypot field to trap spammers. Google it to find out more. Also, use a php script to record the IP of the person submitting the form. This can help you as you can block anybody that abuses the form.
December 9, 201114 yr At work, I have a lot of forms processed using formmail (~200, inherited from previous employee) and although I've been meaning to replace them with custom scripts, I've never noticed a problem with the formmail scripts. Which formmail scripts are you using? The ones at work are from tectite. They 'should' take care of all of your security concerns. Note to self: Review tectite formmail
Create an account or sign in to comment