| // +---------------------------------------------------------------------------+ // $Id$ class GuestbookOutput { /** * Replaces the @ with @ , . with . and adds some 'noise' * Ex: user@domain.com => user@domain.com * * @access public * @param string $email * @return string $email ofucated */ function emailObfuscator($email) { SGL::logMessage(null, PEAR_LOG_DEBUG); $email = str_replace('.','.',$email); // Replace . with . $aEmail = split('@',$email); $data = ''.$aEmail[0].'@'.$aEmail[1]; return $data; } } ?>