PHP Coding Tips

Wednesday, January 30, 2013

Best way to secure e-mail in SMARTY template and CSS

See the best way to secure your e-mail from spambots. Just rearrange text flow to reverse and reverse an email with strrev() function:<span style="unicode-bidi:bidi-override; direction: rtl;"> {$sm_item.email|strrev} </span> Now you have your e-mail backwarded in page source, but displayed properly

No comments:

Post a Comment