View Single Post
Old 11-21-2008, 06:33 PM   #1 (permalink)
codefreek
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Box Might lead us to something good

hello i was bored so i started to make a script
but i just wrote some jibrish don't know if it will work
or so i just thought i share it and maybe some one will
see something i don't see and develop it to a working stage :P

PHP Code:
function spamblocker($bWork,$makeSelection,$check) {
session_start();
$_SESSION['makeSelection'] = $makeSelection;
$makeSelection rand("1234567890qwertyuiopasdfghjklzxcvbnm");
if (
$_POST == true) {
//do
$bWork strip_tags($_POST);
//and
$check ".$makeSelection.";
}
return 
$check;

if(
$check == true) {
print 
"ok";
} else {
print 
"error";



..Enjoy..
no flame is needed i have never said it was a good
script or so, this is how i learn by doing jibrish code :P

thoughts and reedit of the code please share it here
hehe just plain fun come on!

you never know maybe someone posts a working code
with a great use :P xD

Last edited by codefreek : 11-22-2008 at 06:06 AM.
codefreek is offline  
Reply With Quote