<?
//anti-CLONE v1.0 by wappy//
//this i mainly designed for the cloning problem thats bugged mobiliichat since its release. Hope you can make good use of it. I have lol!!!!//
//(c) wappyCULT 2006-2007//
//!!DO NOT REMOVE HEADER!!//
//if your using this on your site then sure remove this crap! But if you plan to give it out please keep the original contents intact!!!!!//

//!!PUT THE FUNCTION UP HIGH ON YOUR PAGE SO IT CAN BE USED ANYWHERE!!//

//build our function anti-CLONE!!!!! This is most of the important stuff out the way but we need to do a little more protection after he he he he he... Dumb clones..//
function anti_clone($string){
return ereg_replace ("[^[:space:]a-zA-Z0-9*_:-]", "", $string);
}

//ENTER THIS PART WHERE YOU NEED IT!//

//enter the value you want to protect from cloning, for mobilichat it is $nimi or you can see the general idea by now you can work it out and make your own layout... God im bored pmpl...//
$value_to_protect = YOUR_VALUE;

//use our anti-CLONE function!!!!!//
$value_to_protect = anti_clone($value_to_protect);

//add even more protection from enters an returns!!!!!//
$value_to_protect = ereg_replace("\n", "", $value_to_protect);
$value_to_protect = ereg_replace("\r", "", $value_to_protect);

//strip any unwanted tags//
$value_to_protect = striptags ($value_to_protect);

//make sure all letters are small!!!!!//
$value_to_protect = strtolower ($value_to_protect);

//enter your value again here... Last bit now pmpl//
YOUR_VALUE = $value_to_protect;

//THATS IT YOUR VALUE WILL NOW BE SAFE FROM spaces, symbols, funny A's, tags, enters, returns an all the other bollox there idiots try ha... Im SURE ITS SAFE NOW! Someone should of done this along time ago!! If you find a gap mail me asap with details!!//

//for more great scripts and code visit http://cult.toddywap.com via WAP!!//

//if you try and claim you wrote this prove it because i spent fucking hours on it! And infact you must be a good friend to even have this cool mobiilichat BUG FIX in the first place (or swapped me something cool) lol!!!!// 

//if you can't get this to work or need help etc... I couldn't give a fuck... If however you wanna share/trade scripts etc mail me at wappyCULT@gmail.com//

//wappy from wappyCULT//
?>