PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

obfuscating e-mail addresses

do you ever wonder how your e-mail address gets on so many spam mailing lists? one way spammers collect e-mail addresses is from web pages. to help combat this problem, you can make your e-mail address show up in scrambled javascript in the html source, yet it it will look and work correctly in the browser. this is done with the {mailto} plugin.

example 18-8. example of obfuscating an e-mail address

{* in index.tpl *}  send inquiries to {mailto address=$emailaddress encode="javascript" subject="hello"}

technical note: this method isn't 100% foolproof. a spammer could conceivably program his e-mail collector to decode these values, but not likely....hopefully.

see also escape and {mailto}.