Brian Lang
Member since May 19, 2009
- Profile: /members/3441-brian-lang.htm
- URL: http://www.brilang.com
- Comments: 41
Recent Blog Comments By Brian Lang
-
Parsing Http Time Strings With ParseDateTime() In ColdFusion
Posted on Aug 5, 2014 at 10:35 AM
This code will work in most versions of ColdFusion. You could shorten the code a bit by using the DateTimeFormat() function in CF10 and CF11.... read more »
-
MySQL Cannot Convert Value '0000-00-00 00:00:00' From Column XX To TIMESTAMP
Posted on Oct 16, 2012 at 3:40 PM
This connection string works up to CF10. When you try to create a DSN with this in your connection string in CF10, you will encounter an error: Connection verification failed for data source: pcbcrm java.sql.SQLException: The connection property 'zeroDateTimeBehavior' only accepts values of the... read more »
-
My First ColdFusion Web Service
Posted on Mar 31, 2011 at 4:41 PM
Once again, a Ben Nadel post to the rescue. That omit="true" part is one of the nastiest things I've run into in CF to date. Why the hell would you require the argument to be passed if you're just going to omit it? Especially when its not "required"? Oh well. Thanks again Ben f... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 3:28 PM
Cmd-C, Cmd-V. Done. Just like Ray said, but on a Mac! I thought that's what version control meant?!? :)... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 11:57 AM
Is CF8 still considered new? It's new to me, but I'm now starting to migrate to CF8 and CF9 for different sites...... read more »
-
Monitoring The ColdFusion Mail Server With GMail And A Scheduled Task
Posted on Apr 9, 2010 at 11:20 AM
We're still running on a CF7 server, and our biggest problem at the time I was having the issues with cfmail we were regularly having to reboot the server. Since then we've migrated most of our ODBC data sources off to web services running on a different server, and the problem with cfmail has vanis... read more »
-
Monitoring The ColdFusion Mail Server With GMail And A Scheduled Task
Posted on Apr 9, 2010 at 1:14 AM
I had a similar problem last year. I was sending mass email to our client list. ColdFusion's spooler was trickling the mail over to our SMTP server (a separate server) a few at a time. I'm using <cfmail> with a query attribute set. When the SMTP server got backed up, then ColdFusion would assu... read more »
-
ColdFusion Application.cfc Tutorial And Application.cfc Reference
Posted on Mar 25, 2010 at 12:10 PM
Your Google rank may not be very high, but when I search on ColdFusion topics, you often have the first or second result. You really do know what you're talking about :) What could you use the onCFCRequest method for? I'm thinking it could be used for: 1. Logging access requests of CFC files - coul... read more »
-
ColdFusion Application.cfc Tutorial And Application.cfc Reference
Posted on Mar 24, 2010 at 1:32 PM
Ben, How come every time I google a ColdFusion item, your website comes up first? And how come the article is entirely relevant to what I'm doing? Are you a google god or something? :) Once again, thanks for the tutorial/article. Any significant changes from this to CF9?... read more »
-
ColdFusion Path Usage And Manipulation Overview
Posted on Feb 23, 2010 at 10:53 AM
Another thing you can do with file paths, especially if you're on a shared server or your files move drives regularly, is to save the primary path in a database. Query it when you need it. That way when you need to change it, you only have to change ONE place.... read more »
-
ColdFusion 9 Script-Based Method Definitions Work Inside CFScript
Posted on Jan 13, 2010 at 11:24 AM
Ben, Is there a GOOD reference on CFScript anywhere?... read more »
-
Ben Nadel Will Make You Code - Thanks Dave Dugdale!
Posted on Jan 13, 2010 at 11:21 AM
You earned it man! You always have great articles on coding CF or JQuery...... read more »
-
NYC + Snow + ColdFusion + jQuery = Winter Wonderland
Posted on Dec 21, 2009 at 11:38 AM
Thanks for the laugh. And here I thought I was going to learn about something to do with ColdFusion and JQuery.... read more »
-
Using Javascript's Function() Constructor To Deserialize JSON Data
Posted on Dec 11, 2009 at 11:04 AM
I'm not really sure how big a problem it is. I read about it all the time. I follow the "best practice" guidelines whenever I find them for whatever programming languages I'm using, but is that enough to protect my apps/websites? I hope so. It's not like I'm leaving out a "Welcome Hacker" mat on my ... read more »
-
Using Javascript's Function() Constructor To Deserialize JSON Data
Posted on Dec 11, 2009 at 10:53 AM
Something else to watch for as I learn AJAX then.... read more »
-
Using Javascript's Function() Constructor To Deserialize JSON Data
Posted on Dec 11, 2009 at 10:51 AM
This sounds a bit sketchy. Could a hacker not use this to return a malicious script as JSON data?... read more »
-
Using CSS Fixed Position Elements Across Browsers
Posted on Oct 16, 2009 at 11:32 AM
I have multiple VM's available on my Mac. I have a Win 2K VM with IE6. I have a Win XP VM with IE 7 and a Win7 VM with IE8. I develop using Firefox.... read more »
-
Ask Ben: Creating A PDF And Attaching It To An Email Using ColdFusion
Posted on Sep 10, 2009 at 1:19 PM
Will this work in CF7? I was under the impression that any code AFTER a closing cfdocument tag would not execute. @Jody - I'm with you. Where's Joanna?... read more »
-
CSVToArray() ColdFusion UDF For Parsing CSV Data / Files
Posted on Aug 31, 2009 at 6:18 PM
Going to try this out. Initial look seems very promising. I've got some very dirty data however... will have to proceed cautiously.... read more »
-
Ask Ben: Uploading Multiple Files Using ColdFusion
Posted on Aug 26, 2009 at 2:57 PM
Thanks for the tutorial Ben. The tips you gave made my day go quicker.... read more »