Encode Email against spammers
this is not the ultimate secure way, but it's at least not displaying the email link
Copy this code and paste it in your HTML
function encode_email($e)
{
for ($i = 0; $i < strlen($e); $i++) { $output .= '&#'.ord($e[$i]).';'; } return $output;
}
Report this snippet
Comments
Subscribe to comments