|
<?
function spamprotect ($mail) {
$email=explode("@",$mail);
$tammail="[".$email[0]."][@]";
$email=explode(".",$email[1]);
while (list($indexno,$deger)=each($email)) {
$tammail.="[".$deger."]";
}
return $tammail;
}
//echo spamprotect('turker@eggdropturk.com');
//[turker][@][eggdropturk][com] olarak gözükecek.
//(c)turker
|
|