email protector: Is this code still secure today?
<p>I found this nice email protector script from css-tricks.com <a href="http://css-tricks.com/snippets/php/email-protector/" rel="nofollow">(link)</a></p>

<p>Here is the code:</p>

<pre><code>&lt;?php
    function php_split_js_make_email($phpemail)
    {
        $pieces = explode("@", $phpemail);

        echo '
            &lt;script type="text/javascript"&gt;
                var a = "&lt;a href=\'mailto:";
                var b = "' . $pieces[0] . '";
                var c = "' . $pieces[1] .'";
                var d = "\' class=\'email\'&gt;";
                var e = "&lt;/a&gt;";
                document.write(a+b+"@"+c+d+b+"@"+c+e);
            &lt;/script&gt;
            &lt;noscript&gt;Please enable JavaScript to view emails&lt;/noscript&gt;
        ';
    }
?&gt;
</code></pre>

<p>Usage</p>

<pre><code>&lt;?php php_split_js_make_email("youremail@here.com"); ?&gt;
</code></pre>

<p>Now I would like to know how secure this code is today, since this post is more than a year old now...</p>

<p>Thank you</p>
