Tomek,
> I'm hoping to find a method of hiding email addresses for spammers
> when I list contact info through FarCryCMS. The only script that I
> have seen involves changing the email address to ASCII character
> codes so that when it shows up correctly when viewed online.
> However, that includes a CFC that I would have to incorporate
> separately into FC.
>
> Does anyone know a better/easier way of hiding email addresses using
> FC or CF?
That's the way I do it.
1. I create a file called <project>/packages/custom/
customFunctions.cfc where I place custom functions like this that are
not relevant to FarCry.
2. I then create the object as an application variable in <project>/
config/_serverSpecificVars.cfm.
<cfset application.oCustomFunctions = createObject("component",
"#application.custompackagepath#.custom.customFunctions") />
3. Once cached in memory I can then call the methods I need.
<cfset myVar = application.oCustomFunctions.myMethod(this="that") />
Hope that helps,
--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---