using if empty()
<p>I've website and for unknown reason i'm getting per minute more than 200 spamming post
and yet i still not need to use captcha</p>

<p>I've got an idea since my attacking bots are hungry for any input form is by creation the following</p>

<p>1- Browser hidden text input</p>

<pre><code>&lt;style&gt;
.comment {visibility: hidden;}
&lt;/style&gt;
&lt;input name="comment" id="comment" type="text" class="comment" /&gt;
</code></pre>

<p>2- using php if it empty then no spam bot and if not empty then it must be spam bot
but the php code gives me error as it looks not working</p>

<pre><code>$comment = $_POST[comment];

if(!empty($comment)){

echo "you are bot right then die go to hell";

} else{

echo "fine";

} 
</code></pre>

<p>for unknown reason to me that php code not working ! i'm not sure about <code>empty()</code> how to use it.</p>
