Re: More Efficient (Faster) Method

2010-01-16 Thread James Holmes
Instead of this: !--- IF Sunday, Ship Tuesday--- cfif #DayOfWeek(TodaysDate)# EQ 1 cfset NewDay = #DateAdd(d, 2, TodaysDate)# !--- IF Monday, Ship Wed--- cfelseif #DayOfWeek(TodaysDate)# EQ 2 cfset NewDay = #DateAdd(d, 2, TodaysDate)# !--- IF Tuesday, Ship Thurs--- cfelseif

Re: CFFILE move is copying

2010-01-16 Thread Scott Brady
Well, I tried it this morning, and it worked. The only differences I could see is I used a different e-mail address and I didn't fill out the optional fields. Weird. Thanks! Scott On Fri, Jan 15, 2010 at 8:03 PM, b...@bradwood.com wrote: Hmm, I've used that form many times and never had

RE: More Efficient (Faster) Method

2010-01-16 Thread Leigh
I believe it is when it is shipped TO you. (When the customer can expect it to show up.)  ... Saturdays are a fixed rate of 35.99 Is it possible that Next Day could work out to be Saturday in your code? Example, if TodaysDate is 1/14/2010? But ignoring that question for a moment, you

RE: Recent SQL Injection attacks

2010-01-16 Thread Al Musella, DPM
What I do is similar.. IF I detect a sql injection, I also add the ip address of the user to my banned IP list. I ban them for a week.. this way if they manage to find a page that isn't protected, they can't do any damage. I use a server variable to hold the list of banned IP addresses, so

managing emails

2010-01-16 Thread Richard Meredith-Hardy
Dear all I have a customer with a CF intranet app which manages ~1000 concurrent active jobs. Customer now wants to include all correspondence with each job. Of course this is quite simple by injecting some sort of CRM-like code in the subject and/or body. What I'm really

Re: managing emails

2010-01-16 Thread Dave Watts
What I'm really reluctant to do, however, is build a complete webmail client on top of this when there are 1001 much better webmail clients out there than I would ever have the time (= funding) to create. Good call on your part. Currently my customer is using MS exchange, (hence Outlook

Re: managing emails

2010-01-16 Thread Cameron Childress
On Sat, Jan 16, 2010 at 12:05 PM, Dave Watts dwa...@figleaf.com wrote: I'd recommend Google Apps to them. That'll be cheaper than Zimbra, And, one of the newer features of Apps is user-managed groups, which are really just Google Groups with your domain email addresses. You could

decoding RFC 2047 encoded-words

2010-01-16 Thread Claude Schneegans
Hi, Is any one aware of some utility that would decode RFC 2047 encoded-words, like message subjets, under CF 5? Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

RE: More Efficient (Faster) Method

2010-01-16 Thread Eric Nicholas Sweeney
Leigh - That is an interesting idea. But would it truly be faster to add 3 cfquerries to the function - when all I have now is one? I certainly see the power/flexibility of having the delivery date logic in a table - because it would be easier to adjust it in the future - - But again - is it

RE: More Efficient (Faster) Method

2010-01-16 Thread Eric Nicholas Sweeney
Thanks James - that is exactly the idea I am looking for. Unfortunately - I am using CF6... :( Have some catching up to do. - Nick ~| Want to reach the ColdFusion community with something they want? Let them know on the

ORM question

2010-01-16 Thread Victor Moore
Hi, I have the following cfc: component output=false persistent=true entityname=Category table=category { property name=catID column=cat_id; property name=name ; property name=subCategories fieldtype=one-to-many cfc=SubCategory

Re: ORM question

2010-01-16 Thread Barney Boisvert
The short answer is no. The long answer is that yeah, you can do a whole bunch of hacking around to make it work like that (or at least APPEAR to work like that), but it's a mess. I can't think of a case when you wouldn't be better off a) just constraining the loop over the subcategories when

Re: More Efficient (Faster) Method

2010-01-16 Thread Dave Watts
That is an interesting idea. But would it truly be faster to add 3 cfquerries to the function - when all I have now is one? I certainly see the power/flexibility of having the delivery date logic in a table - because it would be easier to adjust it in the future - - But again - is it