Get Smarty

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Check reviews of PHP Web Hosting, compatible with Smarty Templates

Offuscare gli indirizzi E-mail

Vi siete mai chiesti come fanno i vostri indirizzi E-mail a finire su così tante mailing list di spam? Uno dei modi che hanno gli spammer per raccogliere indirizzi E-mail è dalle pagine web. Per combattere questo problema, potete fare in modo che gli indirizzi E-mail appaiano in maniera criptata da javascript nel sorgente HTML, anche se continueranno ad essere visti e a funzionare correttamente nel browser. E' possibile farlo con il plugin mailto.

Example 18.8. Esempio di offuscamento di indirizzo E-mail


{* in index.tpl *}

Send inquiries to
{mailto address=$EmailAddress encode="javascript" subject="Hello"}

    

Nota tecnica

Questo metodo non è sicuro al 100%. Uno spammer, concettualmente, potrebbe programmare il suo raccoglitore di e-mail per decodificare questi valori, ma non è una cosa semplice.

Comments
No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Author:
Email: (not shown)
What is 5 plus 13? (Are you human?)

Sponsors [info]

Cheap Website Hosting @hostdone.com
email marketing @ActiveCampaign
broadband deals @BroadbandGenie
Best UK Web Hosting @webhost.uk.net
Reliable UK and US Web Hosting @rshosting.com
Cheap US and UK Web Hosting @infrenion.com
I.T Certification Exams @pass-guaranteed.com
Certification Practice Tests @firsttrycertify.com
Certification Practice Exam Questions @ace-it-certifications.com
Broadband Speed Test @broadbandspeed.co.uk
bulk email software @americaint.com
ASP.NET hosting @aspnethosting.co.uk