this is not meant as a discussion, but if this helps against crawler or spam-bots.
Captchas are not userfriendly and do not look nice...that´s why I thought about trying somethin like this:
<form><input type="text" name="name"> <input type="hidden" value="" name="surname" /></form>
and check if the input type hidden (to check if its a bot) is filled (submit.php).
if (!empty($_POST['surname'])){
$error2 = "You are a Bot.";
}
My question is:
Would that work or would crawler or bots ignore input types which are hidden?
Or would it be better to wrap a <div style="display:none;"></div>
around it?
Technicly it works (if i fill that field with a value)...but i don´t know if something like this would pretend myself from getting annoying spam..
thanks for reading/other solutions which would be userfriendliy.