Forum Moderators: coopster & phranque

Message Too Old, No Replies

What's the best way to implement feedback forms?

trying to ward off the spam bots

         

berli

5:21 pm on Jun 20, 2003 (gmt 0)

10+ Year Member



I'd like to implement feedback forms and maybe even a simple guestbook, but I'm unsure of which commants (GET, POST) to use and what kind of controls to put it to keep it from being spammed.

Is it possible to just use HTML FORM elements or do I need to use perl scripts?

I have a formmail clone preinstalled on my server (Apache) but isn't it likely that there are many spambots written precisely to exploit this program?

I also have phpNuke, but I'd rather go for the simplest, most effective solution before digging into the whizbang stuff.

What are your experiences with this? I'd really like to know.

jatar_k

7:44 pm on Jun 21, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



The form itself is straight html you would then use the method="post" and the action would be targetted to the script in question. It could be perl, php, asp or any other for that matter.

The formmail clone you have preinstalled may have some anti spam methods in it already.

One method is making the script only work if data is posted from the same domain which I think the newer formmail scripts do.

As far as processing the data from the form it isn't overly difficult.

error check it
put it together
and send it, save it or both
redirect them to a thank you very much page