JRUN at 100% - solved thank to the archives!
I was going crazy today.. my cf server has been really slow and throwing time out errors recently .. getting worse fast. and it is usually lightning fast.. then Verizon changed all of my static IP addresses at 4am this morning (they gave me a window between midnight and 6 am - and my website is in the middle of a big fundraising campaign) .. what a nightmare.. SO I wait up all night to make the changes but then the websites - even the cf admin - aren't working at all. I get cold fusion errors pages about not being able to get metrics or server errors or timed out. Both processors are pegged at 100% cpu and I can hear a lot of disk accesses. (They used to run about 3%) Since I just changed the IP addresses I figured I messed up someplace.. I reinstall cf, and it worked for about 30 seconds, then even the administrator wouldn't load. JRUN is using 99% of the cpu. I rebooted a few times, and no luck. then I search house of fusion and found the answer immediately - the log files got too large. We were getting hammered with someone trying to do sql injections and cf was logging the cfparam mismatches ... the coldfusion-out.log got over 325 megabytes, even though in the admin I say to limit logs to 5 megabytes. (this is cf7).. I guess the log settings don't apply to this coldfusion-out.log in the cfusionMX7/runtime/logs directory, Just wanted to post in case anyone else see this problem.. and thanks to the list owners and members for creating such a great resource! Al ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313775 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
And finally, do you really want a user to be able to add any random CF expression into the DB to be executed? Combine this with something like a URL variable or form post and the results could make SQL injection look like a minor inconvenience. Replacing placeholders is much safer. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/10/11 Aaron Rouse <[EMAIL PROTECTED]> > Yeah but you have to be careful with how much you use those functions in an > application. I know at least on our CF6 server here for one project that > extensively uses those it does in fact eat up a good bit of resources when > a > normal user load is on it. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313774 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
Yeah but you have to be careful with how much you use those functions in an application. I know at least on our CF6 server here for one project that extensively uses those it does in fact eat up a good bit of resources when a normal user load is on it. On Fri, Oct 10, 2008 at 4:50 PM, Ian Skinner <[EMAIL PROTECTED]> wrote: > >I have in my DB under the field of answer... > > > >We have currently #users.recordcount# players signed up with this site > >that your event would reach. While it may not be many in the pure view, > >if 7 come to your convention, that would pay for our services (Figuring > >the room costs a total of $200 and you charge $30 for admission). Any > >above that can't hurt your bottom line. > > > >exactly. The #users.recordcount# as well. > > > >When I run this code.. > > > > > > > > #Evaluate("FAQ.Answer")# > > > > > > > >It shows #users.recordcount# (with the pound signs) and not 32 like I > >would think it would.. I tried also just putting #FAQ.Answer#, but that > >doesn't work either. > > > >How do I make CF treat data it pulls from the DB as variables and not a > >string? > > Going back to you original question, contrary to Azadi's and Matt's > answers, you can do this. I am not sure this is better then the replacement > technique that has already been worked out, but in the names of fairness and > completeness. You could have done something like this. > > > > #Evaluate(DE(FAQ.Answer))# > > > > It requires a combination of the de() 'delay evaluate' and evaluate() > functions to get ColdFusion to render variables contained inside of string > variables. No guarantees on how robust this solution is, but it is > technically possible. > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313773 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Draw line and box
>Google: drawing with javascript > >lots of interesting stuff turns up! Sorry, guys, for not being clear. I'd like to provide a space with TextArea, then, let my user to draw some lines, to form a triangle, square, pentagon, etc., small or big, on his/her own... ha, the google link seem intersting but looks messy at first glance... more, better some clarity pls if possible, thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313772 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
Ian Skinner wrote: > > > #Evaluate(DE(FAQ.Answer))# > > O.K. I have never really done anything with this recursive rendering of ColdFusion variables inside of ColdFusion variables before. But this is kind of cool to my geeky soul!!! In a very much, 'Why the hell would you ever do this!' way #aString# #evaluate(de(aString))# #evaluate(de(evaluate(de(aString# #evaluate(de(evaluate(de(evaluate(de(aString))# ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313771 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Thanks! :) This makes it allot easier. :) Ian Skinner wrote: > Going back to you original question, contrary to Azadi's and Matt's answers, > you can do this. I am not sure this is better then the replacement technique > that has already been worked out, but in the names of fairness and > completeness. You could have done something like this. > > > > #Evaluate(DE(FAQ.Answer))# > > > > It requires a combination of the de() 'delay evaluate' and evaluate() > functions to get ColdFusion to render variables contained inside of string > variables. No guarantees on how robust this solution is, but it is > technically possible. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313770 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>I have in my DB under the field of answer... > >We have currently #users.recordcount# players signed up with this site >that your event would reach. While it may not be many in the pure view, >if 7 come to your convention, that would pay for our services (Figuring >the room costs a total of $200 and you charge $30 for admission). Any >above that can't hurt your bottom line. > >exactly. The #users.recordcount# as well. > >When I run this code.. > > > > #Evaluate("FAQ.Answer")# > > > >It shows #users.recordcount# (with the pound signs) and not 32 like I >would think it would.. I tried also just putting #FAQ.Answer#, but that >doesn't work either. > >How do I make CF treat data it pulls from the DB as variables and not a >string? Going back to you original question, contrary to Azadi's and Matt's answers, you can do this. I am not sure this is better then the replacement technique that has already been worked out, but in the names of fairness and completeness. You could have done something like this. #Evaluate(DE(FAQ.Answer))# It requires a combination of the de() 'delay evaluate' and evaluate() functions to get ColdFusion to render variables contained inside of string variables. No guarantees on how robust this solution is, but it is technically possible. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313769 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SOT: setting div visibility with javascript (fixed)
There was a call to a second function that was messing with the display settings. I removed the display settings from Q4Chk() and placed them in the second function and all is well.. Thanks to all for letting me bounce this off of you sas ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313768 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>>Yes, I know scoping my variables is a good thing now and I will from now on when needed. But honestly, it so rarely comes up as an issue Right. A good practice to avoid trouble if you don't scope is at least to use different names for variables in different scopes, especially with queries. The problem with queries is that inside a http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313767 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDocument? No Soup for YOU!
AppServer: JRun4 version: CFMX7.0.2.142 tag: issue: I'm using a proxy file to pull a file from a directory not in webroot to pull an image into my page. The image is pulled out of the off-root directory with a and a to make it a generic catch-all file getter. When I pull images this way in a in straight CFML it works! But pull the image into a CFDOCUMENT and it gives me the dreaded "red-x". I'd appreciate any insight from brains bigger than mine, cause there'snot many smaller... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313766 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Draw line and box
Google: drawing with javascript lots of interesting stuff turns up! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313765 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
I became a scoping nazi back when I had to start working with a home built framework that did not scope a single thing. It made it rather difficult to back track through things and see how it was supposed to be working(since it did not always work right). On Fri, Oct 10, 2008 at 3:13 PM, Eric Roberts < [EMAIL PROTECTED]> wrote: > I used to not scope and had to teach myself to scope and break that > habit...next one I am working on is cfqueryparam... > > One day at a time... > > Maybe we need to create a 12 step program for CF developers hehehe *grin* > > Eric > > /*-Original Message- > /*From: Aaron Rouse [mailto:[EMAIL PROTECTED] > /*Sent: Friday, October 10, 2008 2:28 PM > /*To: cf-talk > /*Subject: Re: Won't evaluate? > /* > /*While the naming is bad, why not learn from the experience and try to > /*scope > /*things? It could save you a lot of random headaches over the years. > /* > /*On Fri, Oct 10, 2008 at 2:22 PM, Phillip M. Vector < > /[EMAIL PROTECTED]> wrote: > /* > /*> Ian Skinner wrote: > /*> > > /*> > #Question# > /*> > > /*> > > /*> > Is ColdFusion seeing that as 'variables.question' or > /*> 'variables.FAQ.question' you have both on this block of code. And it > /*may > /*> not be picking the one you want to output. If so then be specific in > /*which > /*> one you want. > /*> > /*> OOOohhh *slaps forehead* I get the idea now.. Thanks. I can name > /*> them Q and A and use that (Yup. Tried it and it works). Yeah... I feel > /*> stupid now. :) > /*> > /*> > /* > /* > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313764 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Won't evaluate?
I used to not scope and had to teach myself to scope and break that habit...next one I am working on is cfqueryparam... One day at a time... Maybe we need to create a 12 step program for CF developers hehehe *grin* Eric /*-Original Message- /*From: Aaron Rouse [mailto:[EMAIL PROTECTED] /*Sent: Friday, October 10, 2008 2:28 PM /*To: cf-talk /*Subject: Re: Won't evaluate? /* /*While the naming is bad, why not learn from the experience and try to /*scope /*things? It could save you a lot of random headaches over the years. /* /*On Fri, Oct 10, 2008 at 2:22 PM, Phillip M. Vector < /[EMAIL PROTECTED]> wrote: /* /*> Ian Skinner wrote: /*> > /*> > #Question# /*> > /*> > /*> > Is ColdFusion seeing that as 'variables.question' or /*> 'variables.FAQ.question' you have both on this block of code. And it /*may /*> not be picking the one you want to output. If so then be specific in /*which /*> one you want. /*> /*> OOOohhh *slaps forehead* I get the idea now.. Thanks. I can name /*> them Q and A and use that (Yup. Tried it and it works). Yeah... I feel /*> stupid now. :) /*> /*> /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313763 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Won't evaluate?
We all have our slow days Philip :-D It's a good thing slapping of the forehead doesn't leave permanent marks...I would be so disfigured if that were the case hehehe. Eric /*-Original Message- /*From: Phillip M. Vector [mailto:[EMAIL PROTECTED] /*Sent: Friday, October 10, 2008 2:23 PM /*To: cf-talk /*Subject: Re: Won't evaluate? /* /*Ian Skinner wrote: /*> /*> #Question# /*> /*> /*> Is ColdFusion seeing that as 'variables.question' or /*'variables.FAQ.question' you have both on this block of code. And it may /*not be picking the one you want to output. If so then be specific in /*which one you want. /* /*OOOohhh *slaps forehead* I get the idea now.. Thanks. I can name /*them Q and A and use that (Yup. Tried it and it works). Yeah... I feel /*stupid now. :) /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313762 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Won't evaluate?
Just wondering out loud... Is it possibly treating $$ as $, like for quotes and hashes? Also, try it without any variables ie. Replace("ABC $$UserCount XYZ", '$$UserCount$$', "999", "ALL"), then introduce them 1 at a time until it breaks. -Original Message- From: Phillip M. Vector [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 3:08 PM To: cf-talk Subject: Re: Won't evaluate? Claude Schneegans wrote: > >>Replace(FAQ.Question, '$$UserCount$$', usercount, "ALL") > > It may also be an question of upper/lower case. > Are you sure you always have "UserCount" ? > If not, use replaceNoCase() instead. It's exactly that. > >>just doesn't show any usercount. > > Does it show any '$$UserCount$$' then ? Yes. Here is what it shows.. === What is LARP? $$UserCount$$ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313761 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
Ian Skinner wrote: > Or just be specific in what you wanted to output. Modifying your > original code in the following manner will achieve the exact same result > as changing the variable names, and demonstrates a better practice of > scoping your variables. I hope you at least wrote that as 'variables.q' > and 'variables.a'! :-) Fair enough. No, I didn't actually name them Q and A. :) I named them "AdjustedQuestion" and "AdjustedAnswer". As for putting variable. before every variable will take quite a bit of work for the app I'm working on. Yes, I know scoping my variables is a good thing now and I will from now on when needed. But honestly, it so rarely comes up as an issue (I don't know what I was doing naming the variable the same name as the field) that it seems redundant to do so (well, until something like this happens). :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313760 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Phillip M. Vector wrote: > Ian Skinner wrote: > >> >> #Question# >> >> >> Is ColdFusion seeing that as 'variables.question' or >> 'variables.FAQ.question' you have both on this block of code. And it may >> not be picking the one you want to output. If so then be specific in which >> one you want. >> > Thanks. I can name them Q and A and use that (Yup. Tried it and it works). Or just be specific in what you wanted to output. Modifying your original code in the following manner will achieve the exact same result as changing the variable names, and demonstrates a better practice of scoping your variables. I hope you at least wrote that as 'variables.q' and 'variables.a'! :-) #variables.Question# ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313759 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
While the naming is bad, why not learn from the experience and try to scope things? It could save you a lot of random headaches over the years. On Fri, Oct 10, 2008 at 2:22 PM, Phillip M. Vector < [EMAIL PROTECTED]> wrote: > Ian Skinner wrote: > > > > #Question# > > > > > > Is ColdFusion seeing that as 'variables.question' or > 'variables.FAQ.question' you have both on this block of code. And it may > not be picking the one you want to output. If so then be specific in which > one you want. > > OOOohhh *slaps forehead* I get the idea now.. Thanks. I can name > them Q and A and use that (Yup. Tried it and it works). Yeah... I feel > stupid now. :) > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313758 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Thanks for the explination. I understand the issue now. :) Peter Boughton wrote: >> I'm just using a cfoutput querry loop. >> >> But I put in [CurrentRow] just in case. No change. Still not working. > > Not sure if you're understanding fully, so I'll simplify completely: > (apologies if any of this is patronising) > > This code here: > > #Question# > > > Will do the same as this: > > > #FAQ.Question[FAQ.CurrentRow]# > > > > If you did this: > > > > #FAQ.Question[FAQ.CurrentRow]# > > > You wouldn't be surprised that the output didn't change (I hope). > > > The following is IDENTICAL to ColdFusion as the above code: > > > > #Question# > > > > And this code is also IDENTICAL to ColdFusion as both the above: > > > > #Question# > > > > In other words, when you *set* the variable Question, it goes into the global > Variables scope. > > However, when you *read* the variable Question, because you are looping > through the query, it looks first in the query's scope. > > This is one of the reasons you find many people saying you should always > scope all variables - it avoids issues like this. > > To make things work as you want, you need to either read the global Variables > scope, or instead to change the value within the query scope. > > > All make sense? > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313757 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
Ian Skinner wrote: > > #Question# > > > Is ColdFusion seeing that as 'variables.question' or 'variables.FAQ.question' > you have both on this block of code. And it may not be picking the one you > want to output. If so then be specific in which one you want. OOOohhh *slaps forehead* I get the idea now.. Thanks. I can name them Q and A and use that (Yup. Tried it and it works). Yeah... I feel stupid now. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313756 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Like I said if it is in a loop over a query then you need to scope the variables within the div elements. That is your problem. On Fri, Oct 10, 2008 at 1:57 PM, Phillip M. Vector < [EMAIL PROTECTED]> wrote: > Here's the full code. > > > > > > > > >#Question# > > > >#Answer# > > > > > So yeah. it's looping fine. Just doesn't show any usercount. > > Aaron Rouse wrote: > > Is it inside a loop over a query? If so then scope your outputed > variables > > in those div elements. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313755 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Phillip M. Vector wrote: > Peter Boughton wrote: > >> 1) Scope the variable, e.g. using #Variables.Question# instead of just >> #Question# Did you do this one Phillip. I'm late to this discussion so I don't really know what your issue is. But you have some pretty ambiguous code here. #Question# Is ColdFusion seeing that as 'variables.question' or 'variables.FAQ.question' you have both on this block of code. And it may not be picking the one you want to output. If so then be specific in which one you want. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313754 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>I'm just using a cfoutput querry loop. > >But I put in [CurrentRow] just in case. No change. Still not working. Not sure if you're understanding fully, so I'll simplify completely: (apologies if any of this is patronising) This code here: #Question# Will do the same as this: #FAQ.Question[FAQ.CurrentRow]# If you did this: #FAQ.Question[FAQ.CurrentRow]# You wouldn't be surprised that the output didn't change (I hope). The following is IDENTICAL to ColdFusion as the above code: #Question# And this code is also IDENTICAL to ColdFusion as both the above: #Question# In other words, when you *set* the variable Question, it goes into the global Variables scope. However, when you *read* the variable Question, because you are looping through the query, it looks first in the query's scope. This is one of the reasons you find many people saying you should always scope all variables - it avoids issues like this. To make things work as you want, you need to either read the global Variables scope, or instead to change the value within the query scope. All make sense? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313753 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Claude Schneegans wrote: > >>Replace(FAQ.Question, '$$UserCount$$', usercount, "ALL") > > It may also be an question of upper/lower case. > Are you sure you always have "UserCount" ? > If not, use replaceNoCase() instead. It's exactly that. > >>just doesn't show any usercount. > > Does it show any '$$UserCount$$' then ? Yes. Here is what it shows.. === What is LARP? $$UserCount$$ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313752 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Like Aaron and Peter said, SCOPE your variables like so: #VARIABLES.Question# #VARIABLES.Answer# When you are referencing #Question# you are actually referencing #FAQ.Question# and not #VARIABLES.Question#, so it wont work Phillip M. Vector wrote: > Here's the full code. > > > > > > > > > #Question# > > > > #Answer# > > > > > So yeah. it's looping fine. Just doesn't show any usercount. > > Aaron Rouse wrote: >> Is it inside a loop over a query? If so then scope your outputed variables >> in those div elements. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313751 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: setting div visibility with javascript
>Umm, it might be as simple as the JS not setting the display property >correctly? > >e.g. > >document.getElementById("COMMENTB").style.display = "none"; >document.getElementById("COMMENTC").style.display = ''; >document.getElementById("FRMSUBMIT").style.display = ''; > >Shouldn't the empty quotes be 'block' ? I could be wrong though. > >It's complicated: > >here's the template: >http://cfm.pastebin.com/m549bfe76 > >what I'm specifically dealing with is function Q4Chk(i), which sets >display settings based on the input from a set of radio buttons >(note: I didn't write this, but I'm trying to get it to work properly) > >The business logic states that each question in the section has three >possible answers, "yes", "no" or "I don't know". >"Yes" and "I don't know" should respond exactly the same way, "no" >responds differently., However if the user answers "yes", or "I don't >know" to any question, that overrides the behavior triggered by any "no" >answers. > >There it isclear as mud > >Craig Dudley wrote: > >-- >Scott Stewart >ColdFusion Developer > >Office of Research Information Systems >Research & Economic Development >University of North Carolina at Chapel Hill > >Phone:(919)843-2408 >Fax: (919)962-3600 >Email: [EMAIL PROTECTED] style.display = '' effectively removes the diplay setting from the div entirely, it achieves the same effect as display:none. Having said that, somewhere in this mess, the display settings seem to be reversed. It seems that display:none makes the div render, and display:block removes it. This is really getting weirder by the second. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313750 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: setting div visibility with javascript
>>here's the template: >>http://cfm.pastebin.com/m549bfe76 > > >You really should investigate jQuery. > >It will allow you to ditch all this ugly overly-verbose code: > >document.getElementById("COMMENTB").style.display = "none"; >document.getElementById("COMMENTC").style.display = "none"; >document.getElementById("Q2").style.display = "none"; >document.frmQuestions.Unexpected[0].checked = false; >document.frmQuestions.Unexpected[1].checked = false; > > >And instead use code that is much easier to understand. For example: > >$j('#COMMENTB,#COMMENTC,#Q2').hide(); >$j(':[EMAIL PROTECTED]').attr('checked',false); unfortunately I don't have time to rebuild in JQuery ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313749 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>>Replace(FAQ.Question, '$$UserCount$$', usercount, "ALL") It may also be an question of upper/lower case. Are you sure you always have "UserCount" ? If not, use replaceNoCase() instead. >>just doesn't show any usercount. Does it show any '$$UserCount$$' then ? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313748 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
Heh.. True enough. Peter Boughton wrote: > If you have someone kick you every time you do it, you can break most habits > much quicker. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313747 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
I'm just using a cfoutput querry loop. But I put in [CurrentRow] just in case. No change. Still not working. Peter Boughton wrote: >> Is it inside a loop over a query? If so then scope your outputed variables >> in those div elements. > > That sounds likely to be the problem - CF will give priority to the query > vars in resolving unscoped variables. > > > To clarify a little, the possible solutions are: > > 1) Scope the variable, e.g. using #Variables.Question# instead of just > #Question# > > 2) Overwrite the values in the query, i.e. replace(...) > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313746 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
> old habbits are hard to break. If you have someone kick you every time you do it, you can break most habits much quicker. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>Is it inside a loop over a query? If so then scope your outputed variables >in those div elements. That sounds likely to be the problem - CF will give priority to the query vars in resolving unscoped variables. To clarify a little, the possible solutions are: 1) Scope the variable, e.g. using #Variables.Question# instead of just #Question# 2) Overwrite the values in the query, i.e. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313744 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
Here's the full code. #Question# #Answer# So yeah. it's looping fine. Just doesn't show any usercount. Aaron Rouse wrote: > Is it inside a loop over a query? If so then scope your outputed variables > in those div elements. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313743 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Peter Boughton wrote: > Not sure - make sure the database contains this text: > "We have currently $$UserCount$$ players signed up with this site" Yup. That's all that is in the field. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
I know.. I know.. It isn't pretty code.. But it's how I learned how to do it and old habbits are hard to break. I seriously doubt that the #'s are messing things up. Yup. Cleaned it up and it's still not displaying correctly. Claude Schneegans wrote: > >>So why isn't this working then? > > >> > >> #usercount#, "ALL")#> > > You're not using # signs correctly : > > > > # sign should be used only inside tags. > > But this may not be the only reason. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>>So why isn't this working then? >> >> You're not using # signs correctly : # sign should be used only inside http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313740 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Won't evaluate?
>So why isn't this working then? > > [snip] Not sure - make sure the database contains this text: "We have currently $$UserCount$$ players signed up with this site" ? Also, your code has far too many hashes - here it is cleaned up a little: #Question# #Answer# ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313739 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
Is it inside a loop over a query? If so then scope your outputed variables in those div elements. Also do not need the pound signs in your two cfsets both on the replace functions and the usercount variables. On Fri, Oct 10, 2008 at 1:40 PM, Phillip M. Vector < [EMAIL PROTECTED]> wrote: > So why isn't this working then? > > > #usercount#, > "ALL")#> > "ALL")#> > > > >#Question# > > > >#Answer# > > Azadi Saryev wrote: > > another alternative may be to get your users.recordcount number in a > > variable in the page that displays the answer, and in your text in db > > store a placeholder, like $$usersnumber$$, and then at cfoutput replace > > the placeholder text with the actual number from the variable in the > page. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313738 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Won't evaluate?
So why isn't this working then? #Question# #Answer# Azadi Saryev wrote: > another alternative may be to get your users.recordcount number in a > variable in the page that displays the answer, and in your text in db > store a placeholder, like $$usersnumber$$, and then at cfoutput replace > the placeholder text with the actual number from the variable in the page. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313737 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: setting div visibility with javascript
>here's the template: >http://cfm.pastebin.com/m549bfe76 You really should investigate jQuery. It will allow you to ditch all this ugly overly-verbose code: document.getElementById("COMMENTB").style.display = "none"; document.getElementById("COMMENTC").style.display = "none"; document.getElementById("Q2").style.display = "none"; document.frmQuestions.Unexpected[0].checked = false; document.frmQuestions.Unexpected[1].checked = false; And instead use code that is much easier to understand. For example: $j('#COMMENTB,#COMMENTC,#Q2').hide(); $j(':[EMAIL PROTECTED]').attr('checked',false); ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313736 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: setting div visibility with javascript
It's complicated: here's the template: http://cfm.pastebin.com/m549bfe76 What I'm specifically dealing with is function Q4Chk(i), which sets display settings based on the input from a set of radio buttons (note: I didn't write this, but I'm trying to get it to work properly) The business logic states that each question in the section has three possible answers, "yes", "no" or "I don't know". "Yes" and "I don't know" should respond exactly the same way, "no" responds differently., However if the user answers "yes", or "I don't know" to any question, that overrides the behavior triggered by any "no" answers. There it isclear as mud Craig Dudley wrote: > You shouldn't do. > > What's going wrong in your example? > > -Original Message- > From: Scott Stewart [mailto:[EMAIL PROTECTED] > Sent: 10 October 2008 15:19 > To: cf-talk > Subject: SOT: setting div visibility with javascript > > Hey all, > > If I'm setting the visibility for a div (display:none or display:block > in this case), do also need to set visibility for anything inside the > div. IE: > > > >blah > > > > If I wanted this to not display, and behave properly, do I need to set > the display property for the span tag as well? > > -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313735 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: setting div visibility with javascript
No I understand that, display determines whether the the div will be rendered and visibility sets similar to opacity=0, you can't see it but it's there Peter Boughton wrote: >> If I'm setting the visibility for a div (display:none or display:block >> in this case), do also need to set visibility for anything inside the >> div. >> > > Nope - you only need to do it to the parent item. > > > Note, you're not setting "visibility", you're setting "display". This isn't > being pedantic; there is a CSS property called visibility which works > differently to the display property, so it could cause confusion mixing up > the terms. > > (Visibility controls whether something can be seen or not, whilst display > controls whether something is there or not - the difference being that an > invisible object still affects other objects even though you can't see it, > but with display:none it is as if the object has been teleported away to live > with goats.) > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313734 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfdocument display problem
I'm trying to use cfdocument to create a PDF report based off a couple of different forms. The code works just fine and the document is being created correctly, but a nested table that is being included from one of the forms (tip.form.cfm) gets thrown out of order and displayed at the bottom of the page. The other form (rtp.form.cfm) contains the exact same nested table but displays correctly. I've been trying to figure this out for a week with no luck. Any suggestions on how to force the cfdocument to display correctly are appreciated. Thanks! Here's the code from the cfdocument (code from the forms is too long to include here) SELECT tip_id AS tip FROM tip_master_update WHERE rtp_id = #rtp# http://www.w3.org/1999/xhtml";> Transportation Projects Report @import âtranproj.cssâ; ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313733 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: setting div visibility with javascript
>If I'm setting the visibility for a div (display:none or display:block >in this case), do also need to set visibility for anything inside the >div. Nope - you only need to do it to the parent item. Note, you're not setting "visibility", you're setting "display". This isn't being pedantic; there is a CSS property called visibility which works differently to the display property, so it could cause confusion mixing up the terms. (Visibility controls whether something can be seen or not, whilst display controls whether something is there or not - the difference being that an invisible object still affects other objects even though you can't see it, but with display:none it is as if the object has been teleported away to live with goats.) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313732 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: attack site / sql injections HELP!
Thanks Brad! I ran a string search through the entire database and was able to find a couple records that still had scripts in them. Hopefully I got all of them... I searched for "script", ".js" etc... just requested another review, keeping fingers crossed. Thanks! -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 6:57 PM To: cf-talk Subject: Re: attack site / sql injections HELP! Tim, I have confirmed you do in fact still have at least one page on your site with malicious content. I just created a simple script which hit every page Google has for your site and breifly analyzed the source. I googled for "site:connhisto.org" I then copied and pasted the 24 links into a list and ran this code: http://www.connhisto.org/~http://www.connhisto.org/index.cfm?p=10~http: //www.connhisto.org/index.cfm?p=3&pid=4231~http://www.connhisto.org/inde x.cfm?p=3&pid=4233~http://www.connhisto.org/index.cfm?p=3&pid=4221~http: //www.connhisto.org/index.cfm?p=3&pid=4234~http://www.connhisto.org/inde x.cfm?p=3&pid=4224~http://www.connhisto.org/index.cfm?p=10&documentid=63 09&q=1~http://www.connhisto.org/index.cfm?p=10&documentid=6321&q=1~http: //www.connhisto.org/index.cfm?p=4&pid=4221&spid=4222~http://www.connhist o.org/index.cfm?p=4&pid=4220&spid=4259~http://www.connhisto.org/index.cf m?p=11~http://www.connhisto.org/index.cfm?p=7~http://www.connhisto.org/i ndex.cfm?p=4&pid=4224&spid=4228~http://www.connhisto.org/index.cfm?p=3&p id=4220~http://www.connhisto.org/index.cfm?p=4&pid=4224&spid=4226~http:/ /www.connhisto.org/index.cfm?p=10&documentid=6291&q=1~http://www.connhis to.org/index.cfm?p=4&pid=4224&spid=4229~http://www.connhisto.org/index.c fm?p=4&pid=4221&spid=4223~http://www.connhisto.org/index.cfm?p=4&pid=422 4&spid=4230~http://www.connhisto.org/index.cfm?p=10&documentid=6318&q=1~ http://www.connhisto.org/index.cfm?p=4&pid=4224&spid=4225~http://www.con nhisto.org/index.cfm?p=10&documentid=6316&q=1~http://www.connhisto.org/i ndex.cfm?p=4&pid=4220&spid=4261"> #site# (#cfhttp.statuscode#) Bad! Good! This code is way too generic and wouldn't work on most sites, but since you don't seem to have ANY .js files or .htm links, it was relativley easy to find your bad apple. THIS PAGE (don't click! Spaces added to prevent auto-linking): http:// www. connhisto. org/ index.cfm? p=3& pid=4220 has this script (don't click! Spaces added to prevent auto-linking): :
dynamic 301 redirect?
OK next issue is now I have about 300 htm files that I have converted to cfm files. All the file names are the same except the extension. What would be the best way to do a 301 redirect on so many files? Do need to use a ISAPI_Rewrite filter. Thank again... -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 11:48 AM To: cf-talk Subject: Re: Coldfusion and .aspx. would be the closest to in concept. This would return the .aspx page as it was rendered by the ASP application server. You would then need to process the cfhttp.filecontent variable to marry it with your look and feel. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313730 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE:_Coldfusion_and_.aspx.
OK thanks a ton... I think for now I am just going to use the Iframe method. It's not a real huge issue at the moment. Eventually I will end up redoing the whole backend but we are slowly trying to migrate the site to the new look. Without killing its SEO ranking. Thanks, ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313729 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion and .aspx
would be the closest to in concept. This would return the .aspx page as it was rendered by the ASP application server. You would then need to process the cfhttp.filecontent variable to marry it with your look and feel. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313727 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion and .aspxâ¦
You can't for example, http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313728 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Terminated CFTHREAD gets logged
When I terminate a thread in this manner to kill runaway thread: Each thread that is terminated gets logged in the application log of the CF administrator with the following value: myThread34940: null How do I keep this from getting logged? Why does CF look at these as application errors? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313726 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coldfusion and .aspxâ¦
Ok itâs been a log time since have posted here. And its been a while since I have used CF also, I kind of stepped out and did some other things for a while. Anywayâ¦I have partnered with a website and have redesigned their site which is mostly done in plain html but they have a few pages that are .aspx. I know the new version of CF 8 can handle .net but is there a way to simply include.aspx files in a CF template that I created for the site. I canât really change or redevelop the .aspx files as itâs through a third party document creation service. Any ideasâ¦. I guess I could use a type of ajax iframe script too⦠but was just curious if there were other ways with cfinclude or something. I am really trying to maintain the look and feel of the site if possible. Thanks, N ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313725 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Draw line and box
Lots of ways to do it with and border, background-color, etc. Or sizing a monocolor image. What effect exactly are you looking for? -Original Message- From: Don L [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 11:03 AM To: cf-talk Subject: Draw line and box I'm wondering if there's a way or even using some simple external function with ColdFusion 8 to draw simple line or box, really simple stuff not some fancy graphics design tool or the like. Or probably I'm not the first one to ask this question. Ideas? Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313724 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Draw line and box
CFImage? On Fri, Oct 10, 2008 at 11:08 AM, Phillip M. Vector < [EMAIL PROTECTED]> wrote: > > > > > > > > There's a square for ya. :) > > Don L wrote: > > I'm wondering if there's a way or even using some simple external > function with ColdFusion 8 to draw simple line or box, really simple stuff > not some fancy graphics design tool or the like. Or probably I'm not the > first one to ask this question. > > Ideas? > > > > Thanks. > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: setting div visibility with javascript
Umm, it might be as simple as the JS not setting the display property correctly? e.g. document.getElementById("COMMENTB").style.display = "none"; document.getElementById("COMMENTC").style.display = ''; document.getElementById("FRMSUBMIT").style.display = ''; Shouldn't the empty quotes be 'block' ? I could be wrong though. -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: 10 October 2008 15:59 To: cf-talk Subject: Re: setting div visibility with javascript It's complicated: here's the template: http://cfm.pastebin.com/m549bfe76 what I'm specifically dealing with is function Q4Chk(i), which sets display settings based on the input from a set of radio buttons (note: I didn't write this, but I'm trying to get it to work properly) The business logic states that each question in the section has three possible answers, "yes", "no" or "I don't know". "Yes" and "I don't know" should respond exactly the same way, "no" responds differently., However if the user answers "yes", or "I don't know" to any question, that overrides the behavior triggered by any "no" answers. There it isclear as mud Craig Dudley wrote: > You shouldn't do. > > What's going wrong in your example? > > -Original Message- > From: Scott Stewart [mailto:[EMAIL PROTECTED] > Sent: 10 October 2008 15:19 > To: cf-talk > Subject: SOT: setting div visibility with javascript > > Hey all, > > If I'm setting the visibility for a div (display:none or display:block > in this case), do also need to set visibility for anything inside the > div. IE: > > > >blah > > > > If I wanted this to not display, and behave properly, do I need to set > the display property for the span tag as well? > > -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313722 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Draw line and box
There's a square for ya. :) Don L wrote: > I'm wondering if there's a way or even using some simple external function > with ColdFusion 8 to draw simple line or box, really simple stuff not some > fancy graphics design tool or the like. Or probably I'm not the first one to > ask this question. > Ideas? > > Thanks. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT CF 8 tag posters available to UK developers
You haven't sent me an email yet. :) -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 10 October 2008 15:34 To: cf-talk Subject: Re: OT CF 8 tag posters available to UK developers Did I win ? > Hi, > > Sorry for OT. > > I have 2 CF8 tag posters that I don't need, and I'm happy to send them > to the first 2 UK based developers who want them. Mail me off list. > > Cheers > > Will > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Draw line and box
I'm wondering if there's a way or even using some simple external function with ColdFusion 8 to draw simple line or box, really simple stuff not some fancy graphics design tool or the like. Or probably I'm not the first one to ask this question. Ideas? Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: setting div visibility with javascript
It's complicated: here's the template: http://cfm.pastebin.com/m549bfe76 what I'm specifically dealing with is function Q4Chk(i), which sets display settings based on the input from a set of radio buttons (note: I didn't write this, but I'm trying to get it to work properly) The business logic states that each question in the section has three possible answers, "yes", "no" or "I don't know". "Yes" and "I don't know" should respond exactly the same way, "no" responds differently., However if the user answers "yes", or "I don't know" to any question, that overrides the behavior triggered by any "no" answers. There it isclear as mud Craig Dudley wrote: > You shouldn't do. > > What's going wrong in your example? > > -Original Message- > From: Scott Stewart [mailto:[EMAIL PROTECTED] > Sent: 10 October 2008 15:19 > To: cf-talk > Subject: SOT: setting div visibility with javascript > > Hey all, > > If I'm setting the visibility for a div (display:none or display:block > in this case), do also need to set visibility for anything inside the > div. IE: > > > >blah > > > > If I wanted this to not display, and behave properly, do I need to set > the display property for the span tag as well? > > -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313718 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLDAP different number of results on same search?
Remove the timeout attribute and it should work fine. I never use the CFLDAP timeout attribute. I let the page's timeout value control that. I figure if the ldap query times-out, then the results are no good (since they vary so much) and the entire page may as well fail. Mike -Original Message- From: Dan LeGate [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 6:13 PM To: cf-talk Subject: CFLDAP different number of results on same search? I have a CFLDAP query that seems to be giving me a different number of results every time I search for the same text with the same filter, attributes, etc. Has anyone seen this behavior? Here's the code: This is a Sun LDAP server (v5.2). When I run queries with the command line tools I get the same results every time. I get 433 results every time w/the built-in and command-line tools. But with CFLDAP I get 100 on one attempt, then 92, on the next, and so on. REALLY strange. I have verified that the values of the variables above are identical between requests. Anyone seen this? Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313717 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT CF 8 tag posters available to UK developers
Did I win ? > Hi, > > Sorry for OT. > > I have 2 CF8 tag posters that I don't need, and I'm happy to send them to > the first 2 UK based developers who want them. Mail me off list. > > Cheers > > Will > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: setting div visibility with javascript
You shouldn't do. What's going wrong in your example? -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: 10 October 2008 15:19 To: cf-talk Subject: SOT: setting div visibility with javascript Hey all, If I'm setting the visibility for a div (display:none or display:block in this case), do also need to set visibility for anything inside the div. IE: blah If I wanted this to not display, and behave properly, do I need to set the display property for the span tag as well? -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT CF 8 tag posters available to UK developers
Hi, Sorry for OT. I have 2 CF8 tag posters that I don't need, and I'm happy to send them to the first 2 UK based developers who want them. Mail me off list. Cheers Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SOT: setting div visibility with javascript
Hey all, If I'm setting the visibility for a div (display:none or display:block in this case), do also need to set visibility for anything inside the div. IE: blah If I wanted this to not display, and behave properly, do I need to set the display property for the span tag as well? -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: attack site / sql injections HELP!
Peter, It's always been case sensitive on Linux :) Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 9:01 AM To: cf-talk Subject: Re: attack site / sql injections HELP! It must be "Application.cfm" - Adobe have now plans to make it case insensitive. Same goes for OnRequestEnd.cfm. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313712 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: attack site / sql injections HELP!
It must be "Application.cfm" - Adobe have now plans to make it case insensitive. Same goes for OnRequestEnd.cfm. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: attack site / sql injections HELP!
>Don't forget to check things like "order by" variables. > >http://www.coldfusionmuse.com/index.cfm/2008/7/21/SQL-injection-using-order- >by > >Also with regard to application.cfm. Make sure every page is running that >file. For example, do you have "included" that might not be intended to be >run as URLs. Or do you have subdirectories that run cfm files that have >their OWN application.cfm or application.cfc file. > >-mark > > > > >Mark A. Kruger, CFG, MCSE >(402) 408-3733 ext 105 >www.cfwebtools.com >www.coldfusionmuse.com >www.necfug.com > > >> I'm no security expert, but from what I understood all the inline >> queries and input variables not being sanitized caused the sql >> injections. that has been cleaned up. what else can it be? > >http://www.owasp.org/index.php/Top_10_2007 etc. > >-- >Tom Chiverton >Helping to confidentially supply architectures > > > > > >This email is sent for and on behalf of Halliwells LLP. > >Halliwells LLP is a limited liability partnership registered in England and >Wales under registered number OC307980 whose registered office address is at >Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A >list of members is available for inspection at the registered office. Any >reference to a partner in relation to Halliwells LLP means a member of >Halliwells LLP. Regulated by The Solicitors Regulation Authority. > >CONFIDENTIALITY > >This email is intended only for the use of the addressee named above and may >be confidential or legally privileged. If you are not the addressee you >must not read it and must not use any information contained in nor copy it >nor inform any person other than Halliwells LLP or the addressee of its >existence or contents. If you have received this email in error please >delete it and notify Halliwells LLP IT Department on 0870 365 2500. > >For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313710 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: attack site / sql injections HELP!
Don't forget to check things like "order by" variables. http://www.coldfusionmuse.com/index.cfm/2008/7/21/SQL-injection-using-order- by Also with regard to application.cfm. Make sure every page is running that file. For example, do you have "included" that might not be intended to be run as URLs. Or do you have subdirectories that run cfm files that have their OWN application.cfm or application.cfc file. -mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 3:44 AM To: cf-talk Subject: Re: attack site / sql injections HELP! On Thursday 09 Oct 2008, Tim Do wrote: > I'm no security expert, but from what I understood all the inline > queries and input variables not being sanitized caused the sql > injections. that has been cleaned up. what else can it be? http://www.owasp.org/index.php/Top_10_2007 etc. -- Tom Chiverton Helping to confidentially supply architectures This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313709 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Searching PDF Properties
cfindex "most likely" reads the content and md as well, but if you want to get firm control over the indexing process, you got to the some of the work yourself. You can always combine stuff. For example, you can use cfindex to read in a pdf's content, and use cfpdf to supply custom data for the index from some of the md fields. FYI - don't forget if you want a way to read PDF text, which isn't native in CF8, you can use my pdfutils CFC (pdfutils.riaforge.org). It has a handy getText() function for PDF files. On Thu, Oct 9, 2008 at 4:00 PM, Andrew Tegenkamp <[EMAIL PROTECTED]> wrote: > Good point. I guess the way to go will be read the PDF metadata while I'm > already going through the cfindex and just store the metadata that way. I'll > try to post some code here if I get anything useful going. > > >> Have you read the docs on the CFPDF tag? It can read/set PDF metadata. >> >> >> >> On Thu, Oct 9, 2008 at 11:04 AM, Andrew Tegenkamp <[EMAIL PROTECTED] >> com> wrote: >> > I am helping a .org setup a ColdFusion search and they have a lot of >> PDF content. They were hoping to be able to tag the content using PDF >> Document Properties (right click on an open PDF and go to Properties) >> to specify a Title, Author, Subject, and Keywords. >> > >> > Can Coldfusion and Verity search PDF keywords inputted this way? If >> so, how? >> > >> > >> > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313708 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help with producung output
use something like this: (probably a simplier way but too early and no caffine...) On Thu, Oct 9, 2008 at 3:10 PM, Toby King <[EMAIL PROTECTED]> wrote: > >I usually just do a cfoutput and use the MOD operator like this to end the > >row: > > > > > > > >But then you may need to add a counter in there to fill in the needed > s > >for when the last row doesn't have 4 records. It's been awhile since I've > >done it. > > > > > >On Thu, Oct 9, 2008 at 7:51 AM, Toby King <[EMAIL PROTECTED]> wrote: > > > >> > > > Hi there > > I was trying to do this at 2 am so was a bit tired. Still havent fixed the > bug yet. I remember that I think I picked that piece of code up from some > CF forum but for the life of me I cant find it again. The forum has loads > of CF examples and tutorials and this was one of them. > > Does anyone have any ideas of what forum it may come from - thanks in > advance if anyone can suggest the forum. It isnt easycfm it is another one. > I think for memory the website where it came from had a mostly blue page > background - ok not a lot to go from. > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Sorta OT: Setting up CF on a MacBook
I agree I have had no issues with CF8, Flash remoting and the CF8 Live Cycles bits on OSX 10.4 and 10. 5 this was a great recourse when setting up initially: http://renaun.com/blog/2007/08/07/230/ Paul Kukiel. On 10/10/2008, at 12:59 AM, J.J. Merrick wrote: > To answer your question CF has an install that works wonderfully and > in 64bit no less on the new dualcore macbooks. > > You would also need Apache but that already comes with Leopard > preinstalled. Just turn on "Web sharing" in the system preferences. > > > But yeah the OSX platform has been great for developing. > > > -J.J. > > > On Tue, Oct 7, 2008 at 5:06 PM, Tiffany Trott > <[EMAIL PROTECTED]> wrote: >> Well before 1999 I was a complete and total MacHead...back then >> when I >> started CF dev it really only ran on windows so I slowly, >> begrudginly made >> the switch. Now with the chance to pick up a MB or MBP I was >> excited to see >> I could run CF and its goodies on it. Just need to know what I >> need to be >> looking for to have the dev machine I want. >> >> -Original Message- >> From: Dave l [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, October 07, 2008 2:48 PM >> To: cf-talk >> Subject: Re: Sorta OT: Setting up CF on a MacBook >> >> If you will be working with photos then get the mbp for the extra >> horsepower >> & larger screens. >> >> I am very much not a windows fan so my opinion is biased but I >> don't think >> there is a better dev machine than a mbp, you can do everything >> from one >> machine. >> >> >> >>> I am in the market for a new laptop and am thinking abot grabbing a >>> MacBook, more for my photography business and editing, than anything >>> else. But Isaw the recommendation of a MacBook Pro for a development >>> work station and was intrigued. I have been away from the >>> development >>> world for a while and am now back full time so I know I have >>> missed some >> things. >>> >>> What would I need to make a MacBook (or MB Pro if that is the better >>> choice) into a decent development machine? >>> >>> Thanks in advance! >>> >>> Tiffany Trott >>> >>> Coldfusion Developer >>> >>> American Residential Communities >>> >>> Phone: 303-383-7532 >>> >>> Efax: 303-749-3005 >>> >>> E-mail: [EMAIL PROTECTED] >> >> >> >> > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313706 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: attack site / sql injections HELP!
On Thursday 09 Oct 2008, Tim Do wrote: > I'm no security expert, but from what I understood all the inline > queries and input variables not being sanitized caused the sql > injections. that has been cleaned up. what else can it be? http://www.owasp.org/index.php/Top_10_2007 etc. -- Tom Chiverton Helping to confidentially supply architectures This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313705 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4