Re: Spam management for forms handling

2014-04-17 Thread Peter Donahue
and locking out visitors that depend on assistive hardware and software for computer screen access. Peter Donahue - Original Message - From: Rob Voyle robvo...@voyle.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, April 17, 2014 1:25 PM Subject: Re: Spam management for forms handling

Re: Problem with Hackers on Donation form through Authorize.net

2013-02-12 Thread Peter Donahue
Good morning everyone, That verification solution will also work with screen readers making it possible for disabled Web surfers to use that form. Good going although CFFormProtect would eliminate the captcha all together. Peter Donahue - Original Message - From: Al Musella

Test

2012-09-19 Thread Peter Donahue
This is a test. Peter Donahue “No weapon that is formed against thee shall prosper.” Isaiah 54:17 “While for our princes they prepare In caverns deep a burning snare, He shot from heaven a piercing ray, And the dark treachery brought to day.” Anonymo

CF Developer Edition on a NAS Drive

2012-08-21 Thread Peter Donahue
the Buffalo drives and how well does it work? If my understanding is correct I believe the developer edition is free. Any resources you can point me to for learning how to get CF installed and running on a NAS drive will also be appreciated. All the best. Peter Donahue “No weapon that is formed

Re: More Complicated RegEx Replace

2012-07-02 Thread Peter Boughton
This is the replace statement a regex guru gave me to wrap a variable found in a string in a span tag. Not sure you can call them a guru when the only piece of regex used is a pair of parentheses which are entirely unnecessary. *shrug* Here's a simpler version that does exactly the same

Re: Replace Question

2012-07-02 Thread Peter Boughton
This is a case for Regular Expressions (RegEx): REReplaceNoCase(answer, '(#search_string#)', 'span class=keyword\1/span', 'all')# Heh, just seen this after the other thread, so guess I'll repeat what I said there: Using parentheses is completely unnecessary. Use \0 in the replacement string

Re: Coldfusion Hosting

2012-05-21 Thread Peter Donahue
Good morning everyone, I second Viviotech.net as a great host for the same reasons. Peter Donahue - Original Message - From: Eric Bourland e...@ebwebwork.com To: cf-talk cf-talk@houseoffusion.com Sent: Sunday, May 20, 2012 10:32 PM Subject: RE: Coldfusion Hosting I have had

Re: MSSQL2012 And Web Site Panel

2012-05-16 Thread Peter Donahue
Hello Byron and everyone, Do you have any idea how long it will be before they release the final version of WSP with this enhancement? Thanks for the information. Peter Donahue - Original Message - From: Byron Mann byronos...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent

: MSSQL2012 And Web Site Panel

2012-05-16 Thread Peter Donahue
others can be a rodeo as these are not active hyper links or do not have an assigned keyboard shortcut making access to these areas with a keyboard easier. Thanks again for the suggestion. Peter Donahue - Original Message - From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk

MSSQL2012 And Web Site Panel

2012-05-15 Thread Peter Donahue
is there a way to connect to it via a Web URL? Sorry if this is somewhat OT for this list. If someone can assist me with these issues or refer me to the proper list for help I'll appreciate that very much. All the best. Peter Donahue “No weapon that is formed against thee shall prosper.” Isaiah

Link Checker and Repair Service

2012-02-19 Thread Peter Donahue
program or service. All the best. Peter Donahue Peter Donahue “No weapon that is formed against thee shall prosper.” Isaiah 54:17 “While for our princes they prepare In caverns deep a burning snare, He shot from heaven a piercing ray, And the dark treachery brought to day.” Anonymous Peter

Re: Video Processing?

2012-02-02 Thread Peter Donahue
Hello Steve and everyone, Bring on the docs please. Peter Donahue - Original Message - From: Steve Bryant st...@bryantwebconsulting.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, February 02, 2012 10:09 AM Subject: Re: Video Processing? I just recently wrapped up

Re: reCaptcha for CF

2012-01-12 Thread Peter Donahue
Hello Steve and everyone, But not for screen reader users. Why hot use CFFormProtect or another solution that won't lock anyone out. That will be very much appreciated by those using adaptive technology such as screen reading systems. Peter Donahue - Original Message - From: Steve

Alternatives to Microsoft SQL Server 2008 Management Studio Express

2011-10-25 Thread Peter Donahue
from a local computer and how well they work. Your enlightenment will be very much appreciated. Peter Donahue ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag

Re: Check for list of words in string

2011-10-11 Thread Peter Boughton
Wouldn't this also catch words like 'myselection'? Yes. \b is your friend. :) Or possibly even stuff like (?=^|;)\s*(?:SELECT|DECLARE|EXEC|etc)\b to ensure this is stuff at a beginning of a string/statement. But I don't really agree with the general approach here. With cfqueryparam +

ColdFusion Anthology Available On Blio

2011-09-23 Thread Peter Donahue
in an accessible form Blio should be your first stop. Their Web site is: http://www.blio.com All the best. Peter Donahue - Original Message - From: Michael Hanson mhan...@aarcorp.com To: cf-talk cf-talk@houseoffusion.com Sent: Friday, September 23, 2011 2:35 PM Subject: Re: Detecting Dirty

Re: Workstation recommendations

2011-09-08 Thread Peter Donahue
. Peter Donahue - Original Message - From: Jacob ja...@excaliburfilms.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, September 08, 2011 9:35 AM Subject: RE: Workstation recommendations But those guys at various computer repair places would say anything to make a sale

Re: Workstation recommendations

2011-09-07 Thread Peter Donahue
hoping everyone is able to resolve their computer and workstation woes in the coming weeks. Peter Donahue - Original Message - From: Dan Crouch stario...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Sent: Wednesday, September 07, 2011 6:41 PM Subject: Re: Workstation recommendations

Re: Anyone care to review this image handling process?

2011-08-21 Thread Peter Boughton
I'd raise four must-fix issues with that code. 1: You haven't var/local scoped any of these variables, despite being inside a function which is probably going to end up in a shared scope, so this code isn't thread-safe and thus can cause incorrect behaviour if two people upload images at the

Mura or Control Panel

2011-08-17 Thread Peter Donahue
subscription information for a Mura discussion group I'll appreciate that very much. I'm entering uncharted waters and need all the navigation help I can get with Mura; particularly since I'll have others on this voyage of discovery with me. Peter Donahue Will you come and awake our lost land from its

Re: Run a class file generated with CF outside of CF

2011-08-07 Thread Peter Boughton
It's Railo, that's r-a-I-L-o, not Ralio. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cffunction - initialize query as empty string or QueryNew

2011-08-04 Thread Peter Boughton
Sorry, yeah, that was worded badly. I should have prefixed that with If you *always* use the local scope, you don't need var... Annoyingly I can't go back and revise the message, and for some reason it got posted twice too. :/

Re: left, right, mid? (no political content)

2011-08-04 Thread Peter Boughton
If the format is as simple as this, regex would be overkill. Also, don't forget that list functions ignore empty delimiters (by default), so can just do: cfset FirstNumber = ListFirst( CurrentLine , 'x_' ) / cfset LastNumber = ListLast( CurrentLine , '_' ) /

Re: left, right, mid? (no political content)

2011-08-04 Thread Peter Boughton
Uh, the original post states all have xx at the beginning. I can only read that as two literal x characters, not some random value, and similarly the description of the format as xx-digits-underscore-digits seems to be pretty explicit. Given the information provided, the results are entirely

Re: cffunction - initialize query as empty string or QueryNew

2011-08-03 Thread Peter Boughton
It doesn't matter - CFML is not like Java (where you must pre-define variables with strict types). In CFML, variables can change types at any time. If you're just var scoping a cfquery variable, it doesn't matter what you use. (I would guess using QueryNew might be ever so slightly slower -

Re: cffunction - initialize query as empty string or QueryNew

2011-08-03 Thread Peter Boughton
With CF9 you don't need the var keyword anymore, and if you don't need backwards compatible code it's (arguably) clearer to not use it at all. That means, do NOT use either of your examples, unless you _need_ a value in myvar1/myvar2 at the start. Perhaps a good way to explain it is to use

Re: cffunction - initialize query as empty string or QueryNew

2011-08-03 Thread Peter Boughton
With CF9 you don't need the var keyword anymore, and if you don't need backwards compatible code it's (arguably) clearer to not use it at all. That means, do NOT use either of your examples, unless you _need_ a value in myvar1/myvar2 at the start. Perhaps a good way to explain it is to use

Re: Committing Line by Line Changes?

2011-07-27 Thread Peter Boughton
As has been said, Git was built knowing that branching is an important task - and so creating and using branches is easy, fast, and flexible. (I used to work on a large project that used SVN, and I had half a dozen checked-out copies because I often worked on multiple things and switching

Re: remove high ASCII chars from text

2011-07-11 Thread Peter Boughton
Jason wrote: Text = reReplace(Text, [^\x20-\x7E], , all); That'll also strip tabs, newlines and carriage returns, which probably isn't desired. Use [^\t\n\r\x20-\x7E] to keep them. However, this shouldn't be necessary - doesn't TinyMCE already have the ability to clean-up MS Word pastes?

Re: Need some perspective...

2011-06-29 Thread Peter Boughton
Hi Jenny, could you provide the address where I can send all future message drafts for you to verify if you will allow them to be on this list? Thanks! ~| Order the Adobe Coldfusion Anthology now!

Re: Need some perspective...

2011-06-29 Thread Peter Boughton
My reply to Rick was not condescending, since to be so requires intent, and there was none. My aim with all my responses to this list is to be helpful and try to make the web a better place. I try to write replies keeping in mind that the post may well be used as a reference by others -

Re: complex string split

2011-06-29 Thread Peter Boughton
This is slightly more efficient: REMatch( '[^]+|\S+' , value ) The difference is probably insignificant here, but as a general rule a negated greedy match is a better choice than a wildcard lazy match. (The second half is no different, just makes it more readable.)

Re: Problem with pound signs

2011-06-29 Thread Peter Boughton
when one programmer decides to do a mass search and replace and totally destroys a code base, then management directs you to do it by hand. That's because management doesn't know that the correct response to that was: 1) why didn't they check it on their local machine before committing? 1)

Re: Problem with pound signs

2011-06-29 Thread Peter Boughton
( Although the management can probably at least count to three correctly. :$ ) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Need some perspective...

2011-06-29 Thread Peter Boughton
Heh, whilst I guess I can see :P being exhaustion, it's always been a teasing/playful emote for me (which is also how Wikipedia defines it: tongue sticking out, cheeky/playful). And yeah, I wasn't offended by anything from you - but I did dislike being told that I effectively wasn't allowed

Re: Double Quote issue

2011-06-25 Thread Peter Boughton
Don't built dynamic queries with user-supplied data, unless you like exposing yourself to SQL injection. cfquery name=myQuery datasource=myDatasource SELECT value FROM table1 WHERE id = cfqueryparam value=#url.param1# / /cfquery And url.param1 can contain as many single or double quotes as you

Re: Need some perspective...

2011-06-25 Thread Peter Boughton
I'm doing a lot of detection and loading code and style sheets based on what browser is being used, but it's a steady pain to keep up with what works and what doesn't. That's why you shouldn't do browser detection, you should do feature detection. For HTML5, here's a guide to doing that:

Re: Need some perspective...

2011-06-25 Thread Peter Boughton
We need some sort of continuously updated standard with more nimble browser updating, as well. That is *EXACTLY* what HTML5 is now - an evolving standard which you CAN use on the desktop right now (if you do things correctly; detect features not browsers).

Re: Double Quote issue

2011-06-25 Thread Peter Boughton
Richard wrote: the issue here is that there are various filters being built up from different functions which is why we are having to do it as a string and not directly inside a cfquery tag. The issue here is that you are trying to use cfquery in a way it wasn't designed to be used, which

Re: Need some perspective...

2011-06-25 Thread Peter Boughton
I don't quite see it that way, Peter. ... It's been a long week... And a long rambling post, which seems to be missing the points I was making. :P The W3C will always be doing the major milestone nonsense, because they're a big bureaucratic organisation that does stuff like

Using CFInclude. on Pages Placed in Subfolders

2011-06-25 Thread Peter Donahue
includes on pages located in all folders in the site's directory tree? Your assistance with this will be welcome. All the best. Peter Donahue - Original Message - From: Raymond Camden rcam...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Saturday, June 25, 2011 4:01 PM Subject

Re: Using CFInclude. on Pages Placed in Subfolders

2011-06-25 Thread Peter Donahue
to try. I'll need to do some experimentation on my own to come up with the best solution for this situation. Thanks again. Peter Donahue - Original Message - From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Saturday, June 25, 2011 4:58 PM Subject: Re

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
well any variable has to be #text# with no spaces No it doesn't. If you felt like it, you could do... # text # That is perfectly valid and works on all the CFML engines. However, even if a valid assumption for the codebase in question, trying to match a hash

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
I would start by finding/escaping identifiable single hashes - i.e. the font colours and HTML entities. Using a regex search that supports lookbehind (so not CF itself, but ok with CFEclipse/CFBuilder) you can do: (?!#)#(?=[A-F0-9]{3,6}\s*+[';]) Which assumes colours must end with or '

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
Steven wrote: From what I've been reading so far I think this regex should work: [^#]#[a-fA-F0-9]{3,6} If I'm correct it would pick up #FF3366 but not ##FF3366. That will not just pick up #FF3366 it will *also* pick-up the character before that (either space, colon, quote, etc). If you are

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
Ray wrote: Here is a crazy idea - wouldn't what you are looking for be a runtime error? If so - can't you use the Code Analyzer in the CF Admin to scan the folder and find them all at once? Guessing you meant to write compile-time there (since that's where the error is; when compiling the

Re: Problem with pound signs

2011-06-24 Thread Peter Boughton
Of course, however you do this, you'll want to make sure you don't inadvertently escape colours/etc that are *not* inside cfoutput (or any tags that emulate cfoutput; cfmail, cfquery, etc). ~| Order the Adobe Coldfusion

Re: CFCONTENT in the background?

2011-06-16 Thread Peter Boughton
Use cfdocument not cfcontent. Documentation at: http://cfquickdocs.com/cf9/#cfdocument ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: CFCONTENT in the background?

2011-06-16 Thread Peter Boughton
Ah wait, sorry, didn't read the message properly. The answer is to use filename attribute of cfdocument - this saves the file on disk, and doesn't send it to the browser. ~| Order the Adobe Coldfusion Anthology now!

Re: Regular Expression Help

2011-06-14 Thread Peter Boughton
Give this a go: cfset Result = InputText.replaceAll ( '~\{(?:(?!/a).)+(?!\}~)(?=/a/li)' , '$0}~' ) / It uses the java replaceAll regex function so that it can do the negative lookbehind to ensure existing correct items are not changed, meaning it can be run

Re: Fuseguard processing time

2011-06-13 Thread Peter Boughton
200ms is still a good page load time. Not when the original was 20ms! A page that takes 0.2s to load is no longer instant, there's a detectable delay, which isn't good. Does it really take 145ms to check for SQL Injection? :/ What's it doing that takes that long!?

Re: Homesite 5.5

2011-06-13 Thread Peter Boughton
After punching all that data in I was walking to the card reader with them in one huge stack and I tripped... I've heard a similar story a few times, and I don't get it. If I had a large stack of cards, especially one that had to stay ordered, I'd get a piece of string and make a quick

Re: Fuseguard processing time

2011-06-13 Thread Peter Boughton
Well ideally you have a non-development staging server, which closely mimics your live production server, against which you can run load testing to help determine this. The other question is, how secure is your code? If it's riddled with vulnerabilities then it might be safer to take this

Re: Web Site not coming up in Firefox

2011-06-06 Thread Peter Donahue
Hello Gabriel and everyone, From what another member said this seems like a cash issue and is on my end. Thanks for checking the site for me. Peter Donahue - Original Message - From: Dorioo dor...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Sunday, June 05, 2011 9:32

Re: Web Site not coming up in Firefox

2011-06-06 Thread Peter Donahue
. On the up side this site is now running on my new VPS I secured through www.viviotech.net. They're a great group of folks to work with and I strongly recommend them to others seeking VPS Hosting. All the best. Peter Donahue - Original Message - From: Maureen mamamaur...@gmail.com To: cf-talk

Re: web service image upload issue

2011-06-06 Thread Peter Fralin
Yes that did the trick, thanks for the assistance. - Peter ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com

Web Site not coming up in Firefox

2011-06-05 Thread Peter Donahue
? Your assistance in troubleshooting this one will make for a very happy Webmaster and client. Thanks again for your help. Peter Donahue Will you come and awake our lost land from its slumber And her fetters we'll break, links that long are encumbered. And the air will resound

web service image upload issue

2011-06-04 Thread Peter Fralin
I am working on a remote call cfc that will allow remote user to upload an image file. Should be pretty straight forward but I am finding that the image being saved is not quite right and therefore NFG. The remote call from my test cfm page is as follows... cfset filePath = C:\temp\rock3.jpg

Re: RegEx Question

2011-05-20 Thread Peter Boughton
Not only can you do it with jQuery, you /should/ do it with jQuery (or equiv). Regex is not built for HTML parsing, and there are many reasons why it wont work correctly when you try. Rather than worry about numerous edge cases, use a tool designed for the job from the start.

Re: Good CF Host in Texas

2011-04-15 Thread Peter Donahue
Good morning everyone, If you mean www.GoWest.com they're in Utah not Texas. Peter Donahue - Original Message - From: Zac Wingfield z...@allied-facilities.com To: cf-talk cf-talk@houseoffusion.com Sent: Friday, April 15, 2011 5:25 AM Subject: RE: Good CF Host in Texas try

Re: What does this URL mean?

2011-04-10 Thread Peter Boughton
Here's a page which explains how URLs are made up: http://hybridchill.com/anatomy-of-a-url.html And here's how your URL divides: Protocol = http Server = //localhost Script Name = /students/index.cfm Path Info = /register Query String = action=studentreg It's possible (but unlikely) that

Windows VPS Management Without Control Panel

2011-03-26 Thread Peter Donahue
to figure out a solution for this part of the equasion so I can decide on a hosting company and begin building or in my case rebuilding my Web hosting business using ColdFusion 9. Thanks for your help. Peter Donahue Will you come and awake our lost land from its slumber And her fetters we'll

Re: Open source ColdFusion forums

2011-03-26 Thread Peter Donahue
Hello Justin and everyone, The more CF Applications to choose from the better so bring on another open source CF-based forum application. Peter Donahue - Original Message - From: Justin Scott leviat...@darktech.org To: cf-talk cf-talk@houseoffusion.com Sent: Saturday, March 26

Re: Windows VPS Management Without Control Panel

2011-03-26 Thread Peter Donahue
how one manages one of these things in general before tackling the access side of things. Any information resources on the subject will be very much appreciated. Thanks again. Peter Donahue - Original Message - From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com

Hosting.com, Your Experiences

2011-03-05 Thread Peter Donahue
in the clouds. If anyone has had hosting through them I'd like to hear about your experiences. As it happens they host the Alamo Area ColdFusion Users Group Web Site. Thanks again for the feedback. Peter Donahue ~| Order the Adobe

KickAssVps.com Experiences

2011-03-04 Thread Peter Donahue
. Beyond this they seem to be a good company although I'm a little squeemish about there not being telephone tech support available. That's the impression I get from viewing their Web Site. Any feedback will be very much appreciated. Peter Donahue

ColdFusion 9 Cloud Hosting

2011-03-02 Thread Peter Donahue
hosting will be very much appreciated. All the best. Peter Donahue ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http

Re: ColdFusion 9 Cloud Hosting

2011-03-02 Thread Peter Donahue
Hello Russ, I'll check it out. Peter Donahue - Original Message - From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Wednesday, March 02, 2011 10:56 AM Subject: Re: ColdFusion 9 Cloud Hosting Hi Peter, yes we have been offering it for quite

Re: ColdFusion 9 Cloud Hosting

2011-03-02 Thread Peter Donahue
specified US-based CF9 Cloud Hosting. That's my fault guys. Peter Donahue - Original Message - From: Dave Watts dwa...@figleaf.com To: cf-talk cf-talk@houseoffusion.com Sent: Wednesday, March 02, 2011 11:26 AM Subject: Re: ColdFusion 9 Cloud Hosting yes we have been offering

Host Department Issues

2011-01-28 Thread Peter Donahue
to shove and I can get hosting that includes CF9 I guess I can't complain. I wanted to see if any of you are experiencing similar issues with Host Department since the January 22, 2011 CP upgrade and if you've found a fix for them. All the best. Peter Donahue

Re: Coldfusion Hosting

2011-01-28 Thread Peter Donahue
Hello again everyone, That sounds like an example of what I'm dealing with Host Department. Maybe those guys have a reseller account hosted by them which would explain the page weirdness. Peter Donahue - Original Message - From: Charlie Griefer charlie.grie...@gmail.com To: cf

Re: REGEX hell

2010-11-25 Thread Peter Boughton
In this situation, there is no real difference between lazy or greedy - because the quantified item is mutually exclusive with the next characters - i.e. \s+ cannot match \) - so it will always consume to the end of the whitespace. It is better to not assume lazy or greedy as a 'default' and

Re: REGEX hell

2010-11-25 Thread Peter Boughton
To be clear, CF uses the Apache ORO library, which is different to both Perl and Java Regex. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

Re: Highlighting non-standard ASCII characters?

2010-10-05 Thread Peter Boughton
Hmmm, although it works that code is not quite correct - there's a few issues with it. If you don?t mind characters like ñ, then just use \w instead of A-Za-z0-9_ This is *incorrect* - in ColdFusion regex, \w does NOT include accented characters. There are other regex engines where it does,

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Peter Boughton
I went to go take a look at it, and got to the download page... Apparently I have to sign an SLA and NDA to download it? Screw that. ~| Order the Adobe Coldfusion Anthology now!

Re: Can I tell CF to dump me all run query names?

2010-09-07 Thread Peter Boughton
Depends how you've scoped them. Here's a quick example if they're unscoped: cfloop item=CurVar collection=#Variables# cfif isQuery(Variables[CurVar]) cfdump var=#Variables[CurVar]# label=#CurVar# / /cfif /cfloop If you've got multiple scopes used, and/or

Re: Checking arrays for any values

2010-09-06 Thread Peter Boughton
It's not clear what you're trying to do. Can you post examples of each type of value it might contain, and whether that is considered true/false? (It's probably still simplest to step through the array and check each value though.)

Re: Checking arrays for any values

2010-09-06 Thread Peter Boughton
In CF9, Adobe have (finally) added the ArrayFind function, which simplifies that code. (Also available in OpenBD v1.3 and above, and in Railo since early days.) ~| Order the Adobe Coldfusion Anthology now!

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
That coupled with StructKeyExists is a pain to type! Why on earth would you *type* it!? This is exactly why your IDE has Word Completion, Snippets and Templates! Str then Alt-/ completes word to StructKeyExists (press Alt-/ again to cycle through other commonly used words) ske then Ctrl-J

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
Oh, just to point out, ske and skel are custom ones I've created. They're not default commands. Shortcut keys may vary too. ~| Order the Adobe Coldfusion Anthology now!

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
This must be a CFEclipse thing as CFBuilder is CTRL-SPACE That's code completion. Word completion is faster (when you know what you want). These are all Eclipse things (and will exist in any other IDE worth using), so available for both CFEclipse and CFBuilder.

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
Hmmm, maybe they've changed the default. Goto WindowsPreferences and type keys in the filter box. That should bring the key binding panel, type word in that. Look for Word Completion option(s) and it'll list what the binding is. If it still doesn't work, check the When value - I've got one

Re: Using ## vs not using ##

2010-09-02 Thread Peter Boughton
just a quick test, please ignore (sorry for the noise) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Re: getting server name

2010-09-02 Thread Peter Amiri
Eric, You can do this via a java object. Try this code to get the local server host name: cfset inet = CreateObject(java, java.net.InetAddress) cfset inet = inet.getLocalHost() -- Peter Amiri Founder | Alurium Hosting 949-338-3862 | pe...@alurium.com | http://www.alurium.com LinkedIn: http

Re: CFParam vs. IsDefined

2010-09-01 Thread Peter Boughton
I prefer to CFParam my vars with a default value of a zero len string or a 0 for numeric values. Then I skip the isdefined and just test against the value. Well recently someone I know said that it's better to test if it's defined. Is there a pro or con to doing it my way vs. IsDefined ? There

Re: Using #### vs not using ####

2010-09-01 Thread Peter Boughton
It'll have a (very very minor) impact on the first load. I'd be surprised (and dissappointed) if it wasn't optimised away after that. However, don't forget Human performance impact - if it takes an extra 0.5 seconds to decipher whether it just says varName versus #varName#i (or similar), then

Re: Using ######## vs not using ########

2010-09-01 Thread Peter Boughton
Hmmm, I'm guessing the web interface to cf-talk is doing double escaping or something bad. ~| Order the Adobe Coldfusion Anthology now!

Re: optimizing CFIDE for cfform

2010-08-31 Thread Peter Boughton
However don;t forget that these files are only loaded once and then are cached by the browser. Not guaranteed in all cases, and also the first impression can be the most important one, so definitely worth looking at a custom solutionm based on jQuery (or other established framework) Also,

Re: sending a form through CF and catching the results

2010-08-27 Thread Peter Boughton
Josh, you're missing the point entirely. Converting from CSV-Query makes sense and wasn't being questioned. Using the cfhttp tag to do the conversion is what's crazy. There is no sensible reason for requiring CSV conversion to go via HTTP - since the vast majority of the time this isn't

Re: Number of site using ColdFusion

2010-08-26 Thread Peter Boughton
To use an analogy, just because trillions of flies eat manure, does that mean we ought to? Directors don't care if developers eat shit, once they get the job done quicker and cheaper. There's also the quote Nobody ever got fired for using #IndustryLeader#. Which isn't particularly helpful,

Re: sending a form through CF and catching the results

2010-08-25 Thread Peter Boughton
Don't specify the columns attribute, it is not needed, and obviously doesn't work. (The columns attribute is part of cfhttp's csv parsing ability. Why cfhttp does CSV parsing instead of having dedicated CSV functions is something only Adobe can tell us.) Use the cfhttpparam tags to send

Re: Number of site using ColdFusion

2010-08-25 Thread Peter Boughton
Anyone have a reliable reference to how many sites may are using ColdFusion? Why do you want one? ~| Order the Adobe Coldfusion Anthology now!

Re: sending a form through CF and catching the results

2010-08-25 Thread Peter Boughton
Oh and name is incorrect attribute too. Should be result to change the default 'cfhttp' variable name. There's a lot of hidden fields you probably need to pass in - here's some code that will get you a step closer. (Note how the cfhttp tag only has URL and METHOD attributes - nothing else is

Re: Number of site using ColdFusion

2010-08-25 Thread Peter Boughton
To respond to an IT director who thinks ColdFusion is dated and not in much use anymore... Well if he's determined, he'll just return with how many sites run on PHP or .NET or whatever. Numbers don't help for CF - what you need to demonstrate is how active and passionate the community is. A

Re: RegEx: Grabbing Keywords from Referers

2010-08-24 Thread Peter Boughton
cfset keywords = reMatchNoCase([?|][p|q]=[^]+, referer) This is incorrect - the | is a literal in character classes. You want [?][pq]=[^]+ ~| Order the Adobe Coldfusion Anthology now!

Re: Cybersource - Coldfusion 8

2010-08-05 Thread Peter Shumar
I've got CF running with Cybersource.. both on CF7 and 8.. did you specify your jar paths directly in the jvm.config file? that was what finally got it working for us. Here's our JVM classpath if you would like to compare:

Re: Need a west coast (US) based CF host

2010-07-30 Thread Peter Amiri
Charlie, If the code can run on Railo, we have shared servers in our LA data center. But then again if the code can run in Railo you could set the time zone for each virtual host separately. ;-) -- Peter Amiri Founder | Alurium Hosting 949-338-3862 | pe...@alurium.com | http://www.alurium.com

Vexed over CFID

2010-07-26 Thread Peter Terhorst
Two URL's: http://redesign1.abc.com/admin and http://redesign2.abc.com/ when my coworker navigated to these two URL's he keeps the same CFID/CFTOKEN/SessionID between these two sites... but when I move from one to the other, CF assigned me new values for these variables. He claims that by

Re: Alurium CFML (Railo) Hosting

2010-07-23 Thread Peter Amiri
Scott, I'll leave it for others to comment on their experience with our hosting, but if there are any questions that I can answer for you please feel free to ask. Keep in mind that we also provide a 30 trial account so you can always kick the tires before you buy. -- Peter Amiri Founder

Re: Alurium CFML (Railo) Hosting

2010-07-23 Thread Peter Amiri
Ya I saw your order come through. If you run into any questions just let me know. -- Peter Amiri Founder | Alurium Hosting 949-338-3862 | pe...@alurium.com | http://www.alurium.com LinkedIn: http://www.linkedin.com/in/peteramiri | IM bpamiri (AIM/MSN/Y!/GTLK/SKYPE) Actually I already signed

  1   2   3   4   5   6   7   8   9   10   >