Captchas becomming obsolete

Status
Not open for further replies.
You should give it 1-2 weeks without, then the same time with and see the differences.
 
CrazeD,
In the code you have above (bot.php) you have
<?php

if (isset ($_POST['submit'])) {
$answer = $_POST['answer'];

if (!empty ($answer)) {


Is that exclamation point supposed to be there, or should that be a $ ?

Thanks,

Rex
 
Yes, that is supposed to be there. An exclamation mark is an operator, it means "not" or the opposite.

So, literally, that is saying "if $answer is NOT empty".

Another example is $i != 5;, would be literally, "$i NOT equal to 5".
 
Status
Not open for further replies.
Back
Top Bottom