RE: Why i fear ColdFusion is on its last legs

2010-01-21 Thread Chung Chow
Cold Fusion certainly has its threats, with .Net, PHP, Python etc alternatives out there. Originally CF had the game to itself and it was an original concept that helped ignite enthusiasm and help to turn the web into what it is today. Wait Bryn, you mean the days when CGI people were

RE: Why i fear ColdFusion is on its last legs

2010-01-21 Thread Chung Chow
Sorry Dave. Blame it on no caffeine on the account of just waking up to this discussion. Lol weren't going anywhere, Flash was just a gleam in Future Splash's pants, ^^ You really messed up that expression. Just thought I'd point that out. Dave

RE: Recent SQL Injection attacks

2010-01-15 Thread Chung Chow
On the SQL injection subject, here's something I add in all my projects. I usually use this snippet of code to intercept at the top level. It helps. cffunction name=isSQLInjection access=public hint=Checks to see if there is a possible SQL Injection attempt cfscript if (

RE: Methods not found.

2009-11-26 Thread Chung Chow
Thanks for all the help! I figured it out. Well, not really. I just moved everything around back to what I needed and it just worked. I might have maybe spelled variables wrong or something. LOL So odd. 2009/11/26 Chung Chow cyc...@annex.net Hi all, I'm trying

Methods not found.

2009-11-25 Thread Chung Chow
Hi all, I'm trying to instantiate an object either in the psuedo-contructor or init of my cfc as a variable so I can use it within all my method inside that cfc. For some reason when I call a method from that object I get a Method not found error. I'm not sure if this is the best way of going

RE: Methods not found.

2009-11-25 Thread Chung Chow
(component, com.util.errorMessages).init(); variables.iManager = createObject(component, com.util.imageManager).init(); variables.instGateway = createObject(component, FeedsGateway).init(application.global); /cfscript -Original Message- From: Chung Chow [mailto:cyc...@annex.net

RE: Methods not found.

2009-11-25 Thread Chung Chow
-talk Subject: Re: Methods not found. I believe you would want : variables.errorMsg = createObject(component, com.util.errorMessages).init(); On Wed, Nov 25, 2009 at 3:36 PM, Chung Chow cyc...@annex.net wrote: Hi all, I'm trying to instantiate an object either in the psuedo

RE: Methods not found.

2009-11-25 Thread Chung Chow
Yup, checked all that. If I define them as variables. they don't work. Move them into the cffuction area and var them and they work fine. The method are access=public. Constructor returns THIS. I would instantiate them in a application scope but I don't want to do that JUST yet. BTW, what is

RE: Methods not found.

2009-11-25 Thread Chung Chow
like to take a look at 'dependecy injection' techniques http://learn.objectorientedcoldfusion.org/wiki/Dependency_Injection 2009/11/26 Chung Chow cyc...@annex.net Hi all, I'm trying to instantiate an object either in the psuedo-contructor or init of my cfc as a variable so I

RE: Time add

2000-07-31 Thread Chung Chow (Annex)
Just use Date add but using the arguments h,n or s. :) dateadd("h",1,datevar) adds 1 hour dateadd("n",30,datevar) adds 30 minutes Chung QT-Original Message- QTFrom: Eli Shechter [mailto:[EMAIL PROTECTED]] QTSent: Monday, July 31, 2000 7:49 AM QTTo: [EMAIL PROTECTED] QTSubject: Time