Skip to main content

Adam Fairbanks

Member since Dec 11, 2008

Recent Blog Comments By Adam Fairbanks

  • Bulleting Credit Card Numbers With Regular Expressions

    Posted on Dec 7, 2007 at 1:21 AM

    Regex is great because it's so powerful and yet so succinct, and RepeatString is a cool function. However, I'm not sure this problem requires even regex: <cfset strNumber = "0123456789123456" /> <cfset strCC = "***********#Right(strNumber,5)#"> (Does it really matter if the asterisks ... read more »

  • Preventing Spam Bot Form Submissions With ColdFusion (Revisited)

    Posted on Aug 28, 2007 at 10:53 AM

    I find that robust server-side form validation screens out most automated form submits. The bots usually trip on at least one item: valid email address, valid phone, valid zip, maxlength, required field, field type (e.g., numeric, date), etc. So the bot gets an error message from the server-side for... read more »

  • Ask Ben: Printing Shipping Labels With ColdFusion

    Posted on Aug 27, 2007 at 4:57 PM

    sherrardb - excellent! Can you post an example css (with html)?... read more »

  • Ask Ben: Printing Shipping Labels With ColdFusion

    Posted on Aug 24, 2007 at 2:27 AM

    This is a good tutorial on using the CF Report Builder to create Avery labels: http://www.adobe.com/devnet/coldfusion/articles/averylabels.html The tutorial includes pre-created files for a number of common label numbers, and all you have to do is 1) install the CF Report Builder (free, quick i... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel