http://www.reuters.com/article/idUSTRE60J20820100120
lol...
i got spam registration from russia... november-december last year 2009 in my site
i have blocked ru emails using the method above
$count=0;
global $xoopsDB;
echo "<table><tr>";
$sql = "SELECT distinct uid, uname, user_avatar FROM ".$xoopsDB->prefix("users")." ORDER BY RAND() LIMIT 8";
$result = $xoopsDB->query($sql);
while (list($uid, $uname,$user_avatar) = $xoopsDB->fetchRow($result) ) {
$count++;
if ($user_avatar == 'blank.gif')
{
echo "<td><a href='".XOOPS_URL."/userinfo.php?uid=".$uid."'><img src='".XOOPS_URL."/uploads/blank-avatar.gif' title='".$uname."' border='0' alt='".$uname."' height='48' width='48'><br />".$uname."</a></td>";
}
else
{
echo "<td><a href='".XOOPS_URL."/userinfo.php?uid=".$uid."'><img src='".XOOPS_URL."/uploads/".$user_avatar."' title='".$uname."' border='0' alt='".$uname."' height='48' width='48'><br / >".$uname."</a></td>";
}
if($count == 4)
{
$count=0;
echo "</tr><tr>";
}}
echo "</tr></table>";