I have a basic php contact form with code along the lines of:
[php]
Name :
Telephone Number :
[/php]and:
[php]if(isset($_POST[‘submit’])) {
$name = $_POST['name']; // required
$telephone_number = $_POST['telephonenumber']; // required
if($name=='' ||
$telephone_number=='' )
{
die('You have not filled in all of the required fields - please hit your back button and try again!');
}[/php]
etc etc…
I don’t need or want a captcha as such, but, as a midway point to avert some bots, am wondering if I can force users (using similar code as above) to type a simple given number - how would I adapt the code here to require a particular given number or word?