Me and my "long" emails, I guess. ;-}
/charlie From: [email protected] [mailto:[email protected]] On Behalf Of Derrick Peavy Sent: Thursday, August 25, 2011 11:12 AM To: [email protected] Subject: Re: [ACFUG Discuss] Best way to handle chunk of CFIF statements Charlie: For whatever reason, my eye missed the first link to the UDF and I clicked the cf411.com link. Going back and looking at it now. __________________ Derrick Peavy On Aug 24, 2011, at 5:52 PM, Charlie Arehart wrote: You don't really mean the code looks like that (where the #searchterm# is repeated), do you? Because that doesn't seem to make sense. Maybe it was pseudo code and you left something out. But I will say this: I wrote a UDF (posted at cflib and since tweaked by others) that may help you: http://www.cflib.org/index.cfm?event=page.udfbyid <http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=1908> &udfid=1908 It's not long or complicated, but it solves what was for me a problem very similar to yours, and it surprised me (as it may you) that CFML didn't make it easier. Check it out. If nothing else, it may give you an idea to consider in a variation for your own need. All that said, I will note as well that there are other solutions out there for the common problem of handling spiders and bots. Besides the link that Ajas offered, consider also my tools of that sort at http://www.cf411.com/injectprotect. While those focus on sql injection protection (at various levels up/down the stack from CFML to hardware), some of them also offer protection for spiders. /charlie ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
