PHP detect spam name

PHP
<!-- within your existing form add this field -->
<input type="text" id="website" name="website"/>
//in your php ignore any submissions that inlcude this field
if(!empty($_POST['website'])) die();
/*in your css hide the field so real users cant fill it in*/
form #website{ display:none; }

Source

Also in PHP: