Return to Snippet

Revision: 5628
at March 20, 2008 11:40 by iTony


Initial Code
function encode_email($e)  
{  
    for ($i = 0; $i < strlen($e); $i++) { $output .= '&#'.ord($e[$i]).';'; }  
    return $output;  
}

Initial URL

                                

Initial Description
this is not the ultimate secure way, but it's at least not displaying the email link

Initial Title
Encode Email against spammers

Initial Tags
email, security

Initial Language
PHP