Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Brad Wood
Your max length in this scenario should most likely be the size of the database column in question. If you use a varchar(50) to store your E-mail address, then you know that the only valid strings coming into this query are going to be 50 characters or less. - Original Message -

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Brad Wood
or an update, but arbitrary and malicious code will NEVER get into the cfquery and be executed as SQL. The maxlengh and type are just additional checks which will cause an error to be thrown from ColdFusion when bad data is passed in. They are a very good idea, but they aren't required. ~Brad

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-24 Thread Brad Wood
, but databases have a way of growing until performance is unbearable. Also, additional tables added to the select later will cause the amount of data being returned to blossom. Anyway, I hope that helps put some reasoning to it. ~Brad - Original Message - From: Charlie Griefer [EMAIL

Re: (Server returned: Connection reset)

2008-07-24 Thread Brad Wood
What are the queries on that page doing? kill @@spid? :) ~Brad - Original Message - From: John P [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 24, 2008 6:56 PM Subject: (Server returned: Connection reset) Hi, I'm running the developer edition of CF8

Re: cfquery and cfstoredproc

2008-07-23 Thread Brad Wood
stated he had been asked to look at a possible sql injection attack. He stated he had heard that inline queries can cause injection attacks and asked if that syntax was safe. Given that information alone, I still think the answer is no. ~Brad

Re: Consuming a Web Service with CF8

2008-07-23 Thread Brad Wood
You probably need to add ?wsdl onto the end of your webservice URL. If you hit the URL you are passing in a browser, you are probably getting an error message. Try https://devurl.asmx?wsdl in your browser and see if you get the WSDL. That is what CF needs. ~Brad - Original Message

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-23 Thread Brad Wood
it sparingly. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-23 Thread Brad Wood
. This will tip you off to where the hackers are gaining entry. ~Brad - Original Message - From: Bo Reahard [EMAIL PROTECTED] How does it defeat the cfquery param tags that are now in all my queries? ~| Adobe

Re: Using attributes within cfqueryparam in Fusebox application

2008-07-23 Thread Brad Wood
I would check to make sure that the cfsqltype you are using matches the data being passed in, as well as the column in the database. Please post the actual error. ~Brad - Original Message - From: Mark Kruger [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, July

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-23 Thread Brad Wood
Thanks for that link Gabriel. I'm sure it was intended for black hats, but I think stuff like that should be required reading for any web programmer. It's easier to defeat the enemy when you understand what they are doing. ~Brad - Original Message - From: Gabriel [EMAIL PROTECTED

Re: cfquery and cfstoredproc

2008-07-22 Thread Brad Wood
of an ORDER BY clause, I outlined what I believe to be the only way to this here: http://www.codersrevolution.com/index.cfm/2008/7/22/When-will-cfqueryparam-NOT-protect-me ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most

Re: cfquery and cfstoredproc

2008-07-22 Thread Brad Wood
Thanks Adrian. That's cool. however, it is not useful DURING the execution of the SQL though correct? ~Brad - Original Message - From: Adrian Lynch [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, July 22, 2008 3:51 PM Subject: RE: cfquery and cfstoredproc

Re: cfquery and cfstoredproc

2008-07-22 Thread Brad Wood
server 2005 that gets the execution plans for me of my running SQL that I tied into the SeeFusion API. If I see a spike on the server, I can see who is doing it, what page they are on, what line of SQL is executing and what their execution plan is all at once. ~Brad - Original Message

Re: cfquery and cfstoredproc

2008-07-22 Thread Brad Wood
I'll admit it. The first time Dave conceded I was right about something, it got printed out and stuck on my cubicle wall. Hey, I gotta' celebrate *something* :) ~Brad - Original Message - From: Mark Kruger [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, July 22

Re: cfquery and cfstoredproc

2008-07-22 Thread Brad Wood
) The OP didn't specify, but IF he is on another BDMS like MS SQL he would be ok. however, I know MySQL is pretty common, and a lot of people run it in allowMultiQueries mode. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
Read this: http://www.coldfusionmuse.com/index.cfm/2008/7/18/Injection-Using-CAST-A nd-ASCII ~Brad -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 9:55 AM To: CF-Talk Subject: (ot) URL Hack Attempt Leaves Me Scractching My Head... Just

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
Why bother looking around the internet? Use your SQL server to decode it! Simply change the exec to a print statement. Very important! :) ~Brad -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 9:59 AM To: CF-Talk Subject: Re: (ot) URL Hack

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
day. That is why I keep coming back here. ;) Thanx Brad. ~G~ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
. Brace yourself for another wave of attacks... :) ~Brad -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 10:43 AM To: CF-Talk Subject: RE: (ot) URL Hack Attempt Leaves Me Scractching My Head... Good point. My bad... -Original Message

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
in the CF community. ~Brad -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 11:53 AM To: CF-Talk Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching My Head... We're getting hit hard today with this. They're failing, because we use cfqueryparam

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
Sweet nectar... I'm trying this out and blogging it tonight. If it's pretty easy to run I think we should promote an international check your freakin' cfqueries day! Who want to buy the party hats and streamers? ~Brad -Original Message- From: Joshua Cyr [mailto:[EMAIL PROTECTED] Sent

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
Band-Aids and duct tape... Filtering for known attacks: moderately useful as a stop gap if you are in the middle of an attack. Holistic approach to seal the original vulnerability against ALL current and future attacks (cfqueryparam): highly desirable. ~Brad -Original Message- From

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
your customers. ~Brad -Original Message- From: Wayne Janeck [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 1:43 PM To: CF-Talk Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching My Head... We had the same hack on our site, did you guys figure out exactly what happened

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
For what it's worth, the specific URL that was injected in the sample I saw (http://1.verynx.cn/w.js) doesn't seem to work anymore. The server name doesn't resolve. === Yeah, that suck, I was going to dissect it. It appears that DNS is resolving it to 127.0.0.1. I didn't know you

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
a and junk us up to you, but that can be a slipperly slope when you start banning legit people because they typed the word execute into a comments form. ~Brad -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 2:47 PM To: CF-Talk Subject: RE: (ot) URL

RE: Mystery Character

2008-07-21 Thread Brad Wood
I've ran into things like this before. Is there a CF function (or even a way in Java) to take a character and return the ASCII code for it? (Or whatever is appropriate, I don't know if ASCII is really the right term) ~Brad -Original Message- From: morgan l [mailto:[EMAIL PROTECTED

RE: Mystery Character

2008-07-21 Thread Brad Wood
Well there you have it! That was pretty simple... Thanks Dave. -Original Message- From: Experienced CF Developer [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 4:00 PM To: CF-Talk Subject: RE: Mystery Character Actually, I just looked it up:

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
Hmm, I sure hope you replaced the exec with a print statement -Original Message- From: Heikki Heikkinen [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 4:48 PM To: CF-Talk Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching My Head... Brad, This took care of part

RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Brad Wood
Cache result sets manually. You can wrap that up nicely in a custom tag. ~Brad -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] I am now working with an app that uses cached queries regularly, and is still on CF7. You cannot use cfqueryparam with a cached query in CF7

RE: Caching and Reusing a Query Generated with QueryNew Function

2008-07-15 Thread Brad Wood
in that scenario since it is specific to each user. ~Brad -Original Message- From: Niski, Brian [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2008 4:30 PM To: CF-Talk Subject: RE: Caching and Reusing a Query Generated with QueryNew Function Thanks Dave. Earlier I had gotten the application

RE: Connecting Coldfusion MX7 to SQL Server 2005

2008-07-14 Thread Brad Wood
Click on the words System Information at the very top of the page in CF Admin. There is a Java Class Path entry that lists all the jars that are loaded. The same info is available under the Server Settings Settings Summary page. ~Brad = About your first question

RE: urlencode/decode

2008-07-14 Thread Brad Wood
I believe you will need to base64encode the string after you encrypt it. Of course, it will need to be decoded in the same manner on the receiving end. ~Brad -Original Message- From: Brian Dumbledore [mailto:[EMAIL PROTECTED] Seems fine.. But doesn't work for some cases when

RE: The Woes of CFThread -- going out of my mind!

2008-07-10 Thread Brad Wood
it already. ~Brad -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Threads should be used with caution, because each thread is going to be taking up memory (although I'm not sure how much memory each thread uses.) Spawning off threads like this is in rapid fire succession

RE: Missing Messages --- was Re: The Woes of CFThread -- going out of my mind!

2008-07-10 Thread Brad Wood
OK, then. I'll take you off my black list. :) ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 11:00 AM To: CF-Talk Subject: Missing Messages --- was Re: The Woes of CFThread -- going out of my mind! Brad Wood wrote: Dan, I already

RE: CFLayout / Transparency

2008-07-10 Thread Brad Wood
elements. ~Brad -Original Message- From: Michael Fisher [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 11:12 AM To: CF-Talk Subject: Re: CFLayout / Transparency Don't want this thread to die. Does anybody have any ideas on how to get cflayout transparency? I have been messing

RE: CFLayout / Transparency

2008-07-10 Thread Brad Wood
Go download FireFox. Now. Then download FireBug. Then download ColdFire. You may never look back. :) http://www.mozilla.com/en-US/firefox/ https://addons.mozilla.org/en-US/firefox/addon/1843 http://coldfire.riaforge.org/ ~Brad -Original Message- From: Michael Fisher [mailto:[EMAIL

RE: JVM auto-restart on Out of Memory error?

2008-07-10 Thread Brad Wood
in general, or just the Permanent Generation space? (permgen) ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 1:10 PM To: CF-Talk Subject: RE: JVM auto-restart on Out of Memory error? We are also running into out of memory issues. I currently

RE: The error occurred on line -1

2008-07-10 Thread Brad Wood
, install SeeFusion or Fusion-Reactor. ~Brad -Original Message- From: David Critchley [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 4:59 PM To: CF-Talk Subject: Re: The error occurred on line -1 I sure hope it fixes your problem. If not, you'll have problems Googling

RE: Long running ColdFusion process and JVM Garbage collection.

2008-07-09 Thread Brad Wood
You can run Garbage Collection like this: cfset runtime = CreateObject(java, java.lang.Runtime).getRuntime() cfset runtime.gc() YMMV ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 11:29 AM To: CF-Talk Subject: Long running

RE: CF DNS Cache

2008-07-09 Thread Brad Wood
, and the server that responds to pings is a different one. i.e. The regularly scheduled aggregating still has your old IP cached, but the ping URL hits an entirely different server which doesn't have it cached. ~Brad -Original Message- From: Sherif Abdou [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: The error occurred on line -1

2008-07-09 Thread Brad Wood
I sure hope it fixes your problem. If not, you'll have problems Googling for that error number. :) http://www.codersrevolution.com/index.cfm/2008/7/9/The-Side-of-the-Net-G oogle-wont-show-you ~Brad -Original Message- From: David Critchley [mailto:[EMAIL PROTECTED] We are upgrading

RE: Dynamic XML(DOM)

2008-07-08 Thread Brad Wood
(my_xml_string_variable) cfdump var=#xml_doc# That should at least get you started. ~Brad -Original Message- From: LSD 4Me [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 1:03 PM To: CF-Talk Subject: Dynamic XML(DOM) Hi I am currenlty using a form to search for dates in a remote database

RE: Dynamic XML(DOM)

2008-07-08 Thread Brad Wood
Did you read my post? I explained how to parse the xml data. It was the part of the code that used the xmlparse() function. (Imagine that!) :) When you say XML data, you're not referring to a SOAP packet are you? Perhaps you could post your code that calls the web service so we could get a

RE: Dynamic XML(DOM)

2008-07-08 Thread Brad Wood
variable back. I don't know what kind of variable your web service is returning (array, string, complex type, ect), but looking at the WSDL will tell you that. ~Brad -Original Message- From: LSD 4Me [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 1:53 PM To: CF-Talk Subject: Re: Dynamic

RE: simple select query not working

2008-07-08 Thread Brad Wood
Are you sure the qu_80_tb_89_split_0_split_T_Ht column is really NULL, and not just an empty string? ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 2:29 PM To: CF-Talk Subject: Re: simple select query not working yes i have dumped

RE: Galleon Forum - Ray Camden's Forum project

2008-07-08 Thread Brad Wood
Did you re-initialize the app? ~Brad -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 2:47 PM To: CF-Talk Subject: Re: Galleon Forum - Ray Camden's Forum project I found that and made changes to that setting

RE: simple select query not working

2008-07-08 Thread Brad Wood
I'm going to go with Qing Xia's suggestion here. Start with nothing but select qu_80_tb_89_split_0_split_T_Wt from mergedColumnsQuery and add the where pieces back in one at a time until the record goes away. ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED

RE: CF DNS Cache

2008-07-08 Thread Brad Wood
I don't know that CF caches DNS, but I bet the OS probably does. Is this a one-time thing, or do you need to pragmatically do this on a regular basis through your application? ~Brad -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 4:52 PM

RE: CF DNS Cache

2008-07-08 Thread Brad Wood
Hmm, looks like I was wrong. Java does cache DNS. Furthermore, it appears to ignore TTL values. Here's a page talking about it: http://www.rgagnon.com/javadetails/java-0445.html I'm not sure exactly how that all translates to CF though. ~Brad -Original Message- From: Brad Wood

RE: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Brad Wood
to be specified by the cfreturn tag. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 12:10 PM To: CF-Talk Subject: Re: The value returned from the CheckPassword function is not of type query. Doesn't the cfprocresult name=Check

RE: The value returned from the CheckPassword function is not of type query.

2008-07-07 Thread Brad Wood
to the calling code, than remove the returntype=query-- Simple as that. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 2:23 PM To: CF-Talk Subject: Re: The value returned from the CheckPassword function is not of type query. Well.. Wait

RE: Coldfusion restarting itself

2008-07-07 Thread Brad Wood
What does a stack trace look like when things start getting busy? How many requests a minute are you serving at peak usage? ~Brad -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 5:50 PM To: CF-Talk Subject: Re: Coldfusion restarting itself Bad

RE: Coldfusion restarting itself

2008-07-07 Thread Brad Wood
Also, did you get a chance to give the 1.5 JDK a whirl like James suggested? ~Brad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2008 1:45 AM To: CF-Talk Subject: Re: Coldfusion restarting itself The only other suggestion I have is to try

RE: CF vs .Net or PHP - need arguement help

2008-07-02 Thread Brad Wood
Usually companies don't just spend money for the heck of it. What is it they are trying to do by re-writing the site from scratch? Do they perceive it as slow or outdated, or are they looking for more features of some kind? ~Brad -Original Message- From: [EMAIL PROTECTED] [mailto

RE: CF vs .Net or PHP - need arguement help

2008-07-02 Thread Brad Wood
about the developer costs, talk to them about how fewer developers can achieve more work with ColdFusion's built-in functionality and how your in-house staff is already trained in that language and the inner workings of your company. ~Brad -Original Message- From: [EMAIL PROTECTED

RE: CF vs .Net or PHP - need arguement help

2008-07-02 Thread Brad Wood
they are afraid of. ~Brad -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 11:29 AM To: CF-Talk Subject: RE: CF vs .Net or PHP - need arguement help Usually companies don't just spend money for the heck of it. If only that were true. I see that happening

RE: (ot) Anyone run into this issue w/ CrystalTech.com

2008-07-02 Thread Brad Wood
I can make CON folders all day long on Windows like this: mkdir \\.\C:\con *grin* ~Brad -Original Message- From: Billy Jamme [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 3:53 PM To: CF-Talk Subject: Re: (ot) Anyone run into this issue w/ CrystalTech.com Lots of systems

RE: query of query timing out

2008-07-01 Thread Brad Wood
for that one). You do not need to have the mergedColumnsQuery query in the from list to do the valuelist() stuff. ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 11:38 AM To: CF-Talk Subject: Re: query of query timing out i am getting the exact

RE: (ot) MS SQL Server

2008-07-01 Thread Brad Wood
Server 2000? If you are on 2005, the varchar(max) is much better than text. ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 11:41 AM To: CF-Talk Subject: (ot) MS SQL Server If I convert an column in a table that is curently a type

RE: query of query timing out

2008-07-01 Thread Brad Wood
exponentially. ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 12:13 PM To: CF-Talk Subject: Re: query of query timing out ok thanks brad, i have taken it out of the from list, you learn something new everyday i hadnt realised

RE: left outer join on query of query function

2008-07-01 Thread Brad Wood
that even make sense? ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups

RE: left outer join on query of query function

2008-07-01 Thread Brad Wood
in (#valuelist(queryA.id3)#)) /cfquery cfdump var=#qry_left_outer# ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 2:13 PM To: CF-Talk Subject: Re: left outer join on query of query function Hi Brad, i thought that would work

RE: left outer join on query of query function

2008-07-01 Thread Brad Wood
confirming that what you think exists in them actually does. ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 3:14 PM To: CF-Talk Subject: Re: left outer join on query of query function thanks for the description brad, yes sorry i wrote

RE: Stored Procedure Not Working

2008-07-01 Thread Brad Wood
, if appears your data types are mixed up. Your proc params list the date first and the varchar second, but the proc has the varchar first and the date second. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 4:52 PM To: CF-Talk Subject

RE: Stored Procedure Not Working

2008-07-01 Thread Brad Wood
. FWIW, running a trace on the database while you made the call would probably have shown the inputs going in the wrong place. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] I didn't know that it needs to be the same order. I switched it and it's working now

RE: use of IN operator in CFIF tag

2008-06-30 Thread Brad Wood
This page basically shows you everything you can use in a cfif http://livedocs.adobe.com/coldfusion/7/htmldocs/0928.htm You are probably looking for the contains operator. CFIF isDefined(FullName) and FullName contains Jr. ~Brad -Original Message- From: Roberto Perez [mailto:[EMAIL

RE: submitting a form

2008-06-27 Thread Brad Wood
A bot? It is possible to spoof anything in an HTTP request to your server. For instance, I could fire up MS Fiddler and build an HTTP POST that looked just like it came from your form but leave whatever fields I wanted blank. Don't ever trust client-side anything. ~Brad -Original

RE: Where Do You Put Your Error Checking Code?

2008-06-27 Thread Brad Wood
Only if you call that server-side validation a second time after the form is submitted to the server. ~Brad -Original Message- From: Sonny Savage [mailto:[EMAIL PROTECTED] I recently wrote some form validation. I the validation was done in CF but was done through an AJAX call when JS

RE: Where Do You Put Your Error Checking Code?

2008-06-27 Thread Brad Wood
Ahh, I see. You are doing validation and processing with a single Ajax call on the server if JS is supported. That would work well. ~Brad -Original Message- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 3:55 PM To: CF-Talk Subject: Re: Where Do You Put Your

RE: String format issue

2008-06-27 Thread Brad Wood
in a cfsavecontent and then passing it to the database? ~Brad -Original Message- From: Roberto Perez [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 3:59 PM To: CF-Talk Subject: String format issue Hi all, I do not know what keywords I could use to investigate this in the archives, so I'll

RE: Where Do You Put Your Error Checking Code?

2008-06-27 Thread Brad Wood
I am for keeping unnecessary business logic out of the database, but I am still a proponent of enforcing data types and foreign key constraints at the database level. ~Brad -Original Message- From: Ian Rutherford [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 4:38 PM To: CF-Talk

RE: variables.whatever isn't defined in CFC

2008-06-25 Thread Brad Wood
the couponWrapper.cfc file and check for any included files which might contain cookie logic. If you are using Eclipse it will usually collapse sections of code for you automatically so it may not be visible. (Right click, expand all) ~Brad On Wed, Jun 25, 2008 at 11:42 AM, Ian Rutherford [EMAIL

RE: More Funky Email Address Validation Stuff

2008-06-25 Thread Brad Wood
Read this: http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-ad dress-until-i.aspx ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

RE: CF tags in CFFILE write

2008-06-25 Thread Brad Wood
In ColdFusion, you need to wrap a variable in pound signs (#) for its value to be output. cfoutput CFLOOP from=1 to=#toloop# index=Loop var lat[#Loop#] = {latitude}; /CFLOOP /cfoutput -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 12:55

RE: CF tags in CFFILE write

2008-06-25 Thread Brad Wood
You'll notice my example also has cfoutput tags wrapped around it. Does yours? ~Brad -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 1:07 PM To: CF-Talk Subject: RE: CF tags in CFFILE write Hey Brad, Thanks for the tip but I tried

RE: CF tags in CFFILE write

2008-06-25 Thread Brad Wood
Whoa, I think it's time for a coffee break... :) -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Been looking at this code for 9 hours straight now. ~| Adobe® ColdFusion® 8 software 8 is the most

RE: deploying and using jar files

2008-06-25 Thread Brad Wood
Nicely done. I am curious though, how did it manage to work on the Linux server? ~Brad -Original Message- From: Doug Boude (rhymes with 'loud') [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 5:44 PM To: CF-Talk Subject: Re: deploying and using jar files Ah, as it turns out

Java NULL in CF

2008-06-24 Thread Brad Wood
/ getUserInfocfdump var=#my_url.getuserinfo()#br / will blow up because getref() and getuserinfo() return null. Should I just set the output of each of those methods into a variable, and then check for the variables existence? Thanks. ~Brad

RE: Java NULL in CF

2008-06-24 Thread Brad Wood
Thanks Barney. I did dig up a little snippet of help while Googling. The trim() and len() functions will accept a null and return an empty string and 0 respectively. #trim(Obj.i_return_null())# returns empty string #len(Obj.i_return_null())# returns 0 Thanks. ~Brad -Original

RE: Java NULL in CF

2008-06-24 Thread Brad Wood
Thanks Pete. Exactly what class is horus.coldfusion.undefined? If my attached you mean that you literally attached something to the E-mail, that won't work. Send it off list if you would or post a link. Thanks. ~Brad -Original Message- From: Pete Jordan [mailto:[EMAIL PROTECTED

RE: page self refresh whenever database gets new input

2008-06-23 Thread Brad Wood
to be refreshed or poll the server. I'm not sure how they do it, but it might be similar to how SeeFusion's Flex interface will stream data to the client indefinitely by keeping a TCP connection open and pushing XML down the pipe. ~Brad -Original Message- From: anthony tran [mailto:[EMAIL

RE: Why do I need getters/setters?

2008-06-23 Thread Brad Wood
to accommodate and encourage good coding practices. YMMV. ~Brad -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 11:46 AM To: CF-Talk Subject: Why do I need getters/setters? I'm just not understanding why I'd need a getter and a setter in my cfc

RE: Odd results with error - ideas?

2008-06-23 Thread Brad Wood
. If the data in the column differs based on the search criteria that can lead to occasional errors. Please show us the code that creates the q_atty variable. If you are using querynew() and you are on CF7 or later, use the second attribute which is a comma-separated list of data types. ~Brad

RE: Odd results with error - ideas?

2008-06-23 Thread Brad Wood
, middle_name...,varchar,varchar,varchar...) See if that helps keep ColdFusion straight. (Again, note this was added in CF7) ~Brad -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 1:57 PM To: CF-Talk Subject: Re: Odd results with error - ideas? Brad

WSDL2Java DuplicateFileException error

2008-06-20 Thread Brad Wood
, cleared the template cache and restarted the server to no avail. Thanks. ~Brad Could not generate stub objects for web service invocation.   Name: http://testtempest.nationsts.com/webservices/integrations/FNC/AppraisalPort/appraisalPort.cfc?wsdl. WSDL: http://testtempest.nationsts.com

RE: WSDL2Java DuplicateFileException error

2008-06-20 Thread Brad Wood
Thanks for the reply Matt. We have actually already tried that. That code provides us with the same error that trying to call the web service does. ~Brad -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 11:14 AM To: CF-Talk Subject: Re

RE: WSDL2Java DuplicateFileException error SOlVED

2008-06-20 Thread Brad Wood
at the bottom of this livedocs page: http://livedocs.adobe.com/coldfusion/7/htmldocs/0231.htm ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

determine host name on CFHTTP redirect

2008-06-20 Thread Brad Wood
in the cfhttp struct which tells you what you actually got. Otherwise I feel kind of like I'm buying a pig in a poke. Suggestions? Work-arounds? Enhancement Request? ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important

RE: Coldfusion 8 install question

2008-06-20 Thread Brad Wood
You need to add the data sources into each instance if you plan on actually using them. Unless you have a site using the default instance, you shouldn't need any data sources set up there. I may be wrong, but I seemed to remember if you added data sources to your base instance BEFORE creating

RE: very basic query error???

2008-06-20 Thread Brad Wood
You aren't by chance storing a comma-delimited list in a single column a database are you? :) ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 5:41 PM To: CF-Talk Subject: Re: very basic query error??? I don't think you can have them

Re: very basic query error???

2008-06-20 Thread Brad Wood
No, there shouldn't he any problems storing a comma delimited list-- it's just bad normalization since a list isn't an atomic value. If you are searching for 1 make sure you account for the following lists: 1,2,3 3,2,1 2,1,3 %,1,% is only work for one of those. ~Brad would a comma delimited

RE: CF8, cfimage writetobrowser action - backgrounds?

2008-06-19 Thread Brad Wood
= rereplacenocase(my_image_html,(img )(src=)([^]*)(.*$),\3,one) table background=cfoutput#image_path#/cfoutput trtdMy Tablebr /br /br /br //td/tr /table ~Brad -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 9:38 AM To: CF-Talk Subject: Re: CF8

RE: CF8, cfimage writetobrowser action - backgrounds?

2008-06-19 Thread Brad Wood
could chime in and tell us if he truly wants one-time-use, throw-away images, or if he is hoping to save them and reuse them for multiple page requests later or even archive them for later retrieval. ~Brad ~| Adobe® ColdFusion® 8

RE: CF8, cfimage writetobrowser action - backgrounds?

2008-06-19 Thread Brad Wood
. I'll let you get back to your gaming... What is the URL for your companion site? ~Brad -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 2:19 PM To: CF-Talk Subject: Re: CF8, cfimage writetobrowser action - backgrounds? Brad Wood wrote: I

RE: Pyschich Serch

2008-06-19 Thread Brad Wood
Here's an example: http://tutorial364.easycfm.com/ -Original Message- From: Don R Seibert [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 2:43 PM To: CF-Talk Subject: Pyschich Serch Hello All, I have been to a number of websites that have search boxes that when you start to

How can I restate this without using EVALUATE?

2008-06-19 Thread Brad Haas
I know using evaluate is a no-no, but I'm stumped on how to restate this line of code: cfset methodResults = evaluate(theObject.#url.methodCall#(#args#)) Any help would be appreciated. ~| Adobe® ColdFusion® 8 software 8 is

Re: How can I restate this without using EVALUATE?

2008-06-19 Thread Brad Haas
Thanks Matt João. I appreciate your help. cfinvoke component=#theObject# method=#url.methodCall# argumentCollection=#args# returnvariable=methodResults/ -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)

RE: Character by Character File Compare

2008-06-19 Thread Brad Wood
for comparing two strings and highlighting their differences. It is fairly good as long as you are dealing with MOSTLY similar strings with insertions and deletions no longer than a couple sentences. http://www.bradwood.com/string_compare/ ~Brad -Original Message- From: Colman, Richard [mailto

RE: Character by Character File Compare

2008-06-19 Thread Brad Wood
If you simply need a yes or no answer to the are they identical question, you may try hashing them and comparing the hash. Though, if your code was to go through the trouble of reading in the file I don't know why you couldn't simply compare the two strings outright. ~Brad -Original

RE: Character by Character File Compare

2008-06-19 Thread Brad Wood
on very large files, but CF8 has phenomenal improvements in string manipulation and testing over previous versions of CF. ~Brad -Original Message- From: Colman, Richard [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 5:49 PM To: CF-Talk Subject: RE: Character by Character File

<    2   3   4   5   6   7   8   9   10   11   >