11-22-2008, 02:50 AM
|
#6 (permalink)
|
|
The Addict
Join Date: Apr 2008
Posts: 200
Thanks: 18
|
PHP Code:
session_start();
function spamblocker() { $makeSelection=rand(1,9); $_SESSION['selection']=$makeSelection;
if($_POST['VARIABLE_NEEDS_TO_BE_HERE']==true) { $bWork=strip_tags($_POST['VARIABLE_HERE']); }
if($makeSelection==true) { return true; #do something } else { return false; #nothing to do here, coz it wont be executed } }
|
|
|
|