Greetings All, I am attempting to use some small php statement to check if a certain ‘box’ (field? var?) has been filled in on a User Registration form. If any data is entered in this field, I would like the registration to fail (anti-bot idea). The php is this:
[php]if (null !==$_POST[‘ICQ’])
}
exit (“Bot Warning”) ;
}[/php]
…and the var I am attempting to reference I think is defined later here (it’s a .tpl file in phpBB 2x):
<td class="row1"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row2">
<input type="text" name="icq" class="post" style="width: 100px" size="10" maxlength="15" value="{ICQ}" />
</td>
Any help would be thoroughly appreciated chaps-- I have no idea what I’m doing here!