samedi 28 février 2015

php contact form - explanation required

I was writing my personal website and thought about creation of contact form. Not a big deal....


But I would like to protect me somehow from auto generated requests by malicious scripts.


Captcha is not an option because it would discourage potential senders to contact me.


I tried to look how others handled this problem.


Among many unprotected forms I found pretty interesting example:


enter image description here


I can't explain the purpose of hidden input fields and I guess they have something to do with filtering malicious users from good users.


But. Am I right? How are they used?


Website where I picked this form website


Aucun commentaire:

Enregistrer un commentaire