Skip to main content

Max

Member since Dec 2, 2009

Recent Blog Comments By Max

  • ColdFusion, jQuery, And "AJAX" File Upload Demo

    Posted on Aug 5, 2011 at 1:59 PM

    Ben, script works great but what if I have a form of other items? What I'd like to happen after all fields are filled: submit form database insert (get ID of insert) trigger upload image rename image with insert id(.jpg) But this script hijacks form submit, I cant trigger it with anything it seem... read more »

  • ColdFusion XmlParse() Error - Content Is Not Allowed In Prolog

    Posted on May 13, 2010 at 4:46 PM

    I was having the same issue and this didn't work for me. What did work for me was to call in the xml using cffile: <cffile action="read" file="#expandPath('pathto/my.xml')#" variable="myxml"> <cfset qData = xmlParse(myxml) />... read more »

  • REMatchGroups() ColdFusion User Defined Function

    Posted on Dec 2, 2009 at 1:00 AM

    just a note: in the example above the "1" used in the function was in reference to [btnID]1[/btnID] and not the backreference '\1'... read more »

  • REMatchGroups() ColdFusion User Defined Function

    Posted on Dec 2, 2009 at 12:56 AM

    Is there a way to get the returned value each time this script is called rather than grouping an array? I'm trying to use soemthing like [btnID]1[/btnID] in the database and using the rereplacenocase method ie: str = rereplacenocase(str, '\[btnID\](.*?)\[/btnID\]', '\1', 'all'); then if I wanted ... 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