PHP detect spam name
//in your php ignore any submissions that inlcude this field
if(!empty($_POST['website'])) die();
3
1
<!-- within your existing form add this field -->
<input type="text" id="website" name="website"/>
Thank you!
1
0
5
2
/*in your css hide the field so real users cant fill it in*/
form #website{ display:none; }
Thank you!
2
0
Are there any code examples left?
New code examples in category PHP