Skip to main content

Phil Williams

Member since Aug 20, 2009

Recent Blog Comments By Phil Williams

  • The Processing Instruction Target Matching "[xX][mM][lL]" is Not Allowed

    Posted on Feb 5, 2010 at 3:11 AM

    Thanks Ben but the loop method actually works quite well as there is only 3-4 XML blocks returned each time. I'm looping over them and stuffing the response into an array to return back to my calling page which is just the job :)... read more »

  • The Processing Instruction Target Matching "[xX][mM][lL]" is Not Allowed

    Posted on Feb 2, 2010 at 4:59 AM

    At last! That little idea worked nicely and I now have xmlparse working on the three blocks. Probably not the most efficient method but considering I've spent the last week on this flipping thing I don't care! :D... read more »

  • The Processing Instruction Target Matching "[xX][mM][lL]" is Not Allowed

    Posted on Feb 2, 2010 at 4:50 AM

    Nope, it is an XML response generated by the Nominet EPP service. Now I've cleaned it quite a bit already removing the ascii chars. etc but what I might try is replacing the </epp> with </epp>| and then looping over it to separate the response into three separate blocks...... read more »

  • The Processing Instruction Target Matching "[xX][mM][lL]" is Not Allowed

    Posted on Feb 1, 2010 at 2:17 PM

    I'm having this exact problem adn really struggling... As mentioned above: "It can happens even if you have more than one prolog in the same xml so remove all "<?xml ... ?>" after the first!!" Now my returned xml does indeed have multiple instances of <?xml version="1.0" encoding="UTF-8"... read more »

  • Accessing ColdFusion Application Settings

    Posted on Aug 20, 2009 at 2:23 PM

    Actually I've figured it out :) What I can do is encrypt the license sting stored in the application session var using an encryption salt that is known by both the application and the licensing server. If the salt randomly changed each time then the license string would be different as well so eve... read more »

  • Accessing ColdFusion Application Settings

    Posted on Aug 20, 2009 at 1:57 PM

    This is the problem I'm finding. I'm currently using a tool to encrypt the entire contents of my code admin folder which I encrypts and password protects the encrypted file so it's "impossible" to decrypt. I wanted, however, to move away from this and just encrypt the application.cfc and hide the ... read more »

  • Accessing ColdFusion Application Settings

    Posted on Aug 20, 2009 at 1:46 PM

    To turn the post on it's head... How would you prevent someone from dumping the application vars using CF7? Let's say I want to encrypt my application.cfc file and leave all the other CFM templates unencrypted. Within my encrypted application.cfc I would have a licensing function that check the l... 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