:)
On 2/7/06, Robin Hilliard <[EMAIL PROTECTED]> wrote:
On 06/02/2006, at 7:48 PM, Steve Onnis wrote:Arrr
Shouldn't it be
<cfoutput>#REReplaceNoCase(x, "~([^~]+)~", "#SESSION[User].Member_\1#","ALL")#</cfoutput>
No, as I said already I was assuming you save the string as a .cfm file then include it, that's why I escaped the hashes.To be absolutely clear the idea is to generate CFML code:<cffile action="" file="temp.cfm" output="#REReplace(x, "~([^~]+)~", "##SESSION[User].\1##", "ALL")#"><cfinclude template=" temp.cfm">You update temp.cfm (whatever you call it, one distinct file for each user template) whenever the user updates the template (rarely) and then use it to generate your messages (frequently) nice and fast without any REs or anything else that would take a lot of processing (similar to what Fusebox 4 does with circuit code). You might want to tweak the matching _expression_ in the RE to tighten up the security in case your user writes ~FirstName#<cffile action=""Robin______________Robin HilliardDirector - RocketBoots Pty LtdProfessional Services for Macromedia TechnologiesFor schedule/availability call Pamela Higgins:w +61 7 5451 0362m +61 419 677 151or Direct:m +61 418 414 341f +61 2 9798 0070*** Register for WebDU http://www.mxdu.com 2-3 March 2006 ***
--
====================================
Postal: Po Box 3462 Dural, NSW 2158
Email: mailto:[EMAIL PROTECTED]
FireFly Internet Phone: 80011777
