Just something I threw together, using a function found at the url in the source.
First, add this to backend/functions.php
Now upload dmca.php and modify the email address to the one you want, and thats it. Your email is claimed to be protected by using a method described in the function. Visit their website for more info.
First, add this to backend/functions.php
// DMCA page e-mail encryption. It uses a substitution cipher with a different key for every page load.
// http://www.maurits.vdschee.nl/php_hide_email/
function hide_email($email) {
$character_set = '+-.0123456789@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz';
$key = str_shuffle($character_set);
$cipher_text = '';
$id = 'e' . rand(1, 999999999);
for ($i = 0; $i < strlen($email); $i += 1)
$cipher_text .= $key[strpos($character_set, $email[$i])];
$script = 'var a="' . $key . '";var b=a.split("").sort().join("");var c="' . $cipher_text . '";var d="";';
$script .= 'for(var e=0;e<c.length;e++)d+=b.charAt(a.indexOf(c.charAt(e)));';
$script .= 'document.getElementById("' . $id . '").innerHTML="<a href=\\"mailto:"+d+"\\">"+d+"</a>"';
$script = "eval(\"" . str_replace(array(
"\\",
'"'
), array(
"\\\\",
'\"'
), $script) . "\")";
$script = '<script type="text/javascript">/*<![CDATA[*/' . $script . '/*]]>*/</script>';
return '<span id="' . $id . '" style="font-weight:normal">(E-mail Protected). You need to <span style="font-weight:bold">enable</span> JavaScript.</span>' . $script;
}Now upload dmca.php and modify the email address to the one you want, and thats it. Your email is claimed to be protected by using a method described in the function. Visit their website for more info.