Revision: 16615
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 9, 2009 23:47 by traeregan
Initial Code
function safeEmail($email) { $obfuscatedEmail = ''; $email = eregi_replace('#','', $email); $length = strlen($email); for ($i = 0; $i < $length; $i++) { $obfuscatedEmail .= "&#" . ord($email[$i]); } $return = '<a href="mailto:' . $obfuscatedEmail . '">'.$obfuscatedEmail.'</a>'; return $return; }
Initial URL
http://www.givegoodweb.com/post/67/php-email-obfuscate
Initial Description
Initial Title
Mailto: Email Obfuscation (ASCII)
Initial Tags
Initial Language
PHP