Posts tagged ‘CF’
So I wanted a better DirectoryList method for Coldfusion. Better meaning faster with more details. I found this post by Anuj Gakhar which was pretty good. I’ve added some more flexibility. It’s you’re to use; if you make improvements, please post those on the Gist so everyone can benefit.
Needed a quick way to check if a key / value pair existed in an array of structures in Coldfusion. Came up with this little number.
I got tired of having to check if not only the key existed but had a value and so whipped this up. Please share if you’ve a better way to accomplish this.
I was looking for a great way to split a string using a regex expression. Ben Nadel had a good post where he’s creating an RESplit() method. This was a little more than I wanted to go into, and after some more searching I found the solution was to use Java (usually is the solution [...]
Best practices dictates that we store our log files on a different drive than the host OS. The idea is to protect our OS in the event our logs get to large (possible if rotation isn’t set up or in some DOS attacks). Coldfusion Changing the coldfusion logs location is the easiest of all. Open [...]