1337 Translator!!!11one!
« Blog post
Demo
Source code
Demo
Enter text to translate
Source Code
<cfif structKeyExists(Form,"message")> <cfset Variables.alphabet = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" /> <cfset Variables.cipher = "@,8,(,|>,3,|=,6,##,1,_|,|<,1,|V|,|\|,0,|*,0_,2,$,+,|_|,\/,\X/,><,`/,2" /> <!--- Generate leet version ---> <cfset Variables.output = replaceList(lCase(Form.message), Variables.alphabet, Variables.cipher) /> <h3>Original Text:</h3> <div style="background:#fafafa; border:2px solid #ccc; padding:0 10px; width:600px;"> <p><cfoutput>#paragraphFormat(htmlEditFormat(Form.message))#</cfoutput></p> </div> <h3>Translation:</h3> <div style="color:#0f0; background:#000; border:2px solid #0f0; padding:0 10px; width:600px;"> <p><cfoutput>#paragraphFormat(htmlEditFormat(Variables.output))#</cfoutput></p> </div> </cfif>
Feedback? Bugs?
Please leave comments on the related
blog post
.