Re: Video Processing?

2012-02-02 Thread Steve Bryant
I just recently wrapped up the code for a ColdFusion library that wraps ffmpeg.exe to transcode videos to any formats needed and uses the Video for Everybody output for HTML that serves up video for, well, everybody. ;-) No docs yet, but if this looks like something that would be helpful I can

Re: Video Processing?

2012-02-02 Thread Steve Bryant
Justin, I'll work on docs for my solution soon. In the meantime, you might also look at PandaStream if you are willing to use 3rd party pay-per-use libraries. http://www.pandastream.com/ Steve @Mack - Thanks for the confirmation, that lets me know it's possible which is a good start. @Steve

Re: Video Processing?

2012-02-02 Thread Steve Bryant
Peter, They are really basic at this point, but I figure some documentation is better than no documentation. If anyone has any questions, I'll amend the file or add documentation accordingly. Thanks, Steve Hello Steve and everyone, Bring on the docs please. Peter Donahue I just recently

Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
It seems like I saw how to do this once, but my Google-fu is weak today and I can't find it. Does anyone know how to manually create a ColdFusion error object? To clarify, I don't mean using cfthrow. I want to be able to control more of the error data than I can using cfthrow. Any ideas?

Re: Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
I'm doing some functional testing with CFSelenium (thanks Bob!) for a situation that could potentially create a ColdFusion exception on the page being tested. I would ideally like to recreate that exception within my test so that it returns an appropriate error status (complete with correct

Re: Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
I want to specify the stack information as well so that I can see all of the files and lines involved in the original exception. Steve You can specify type, message and detail information with CFTHROW, just like you'd read from CFCATCH. Out of curiosity, what information do you want to

Re: Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
Yes, but I will get the stack from the cfthrow. I want the stack of the error on the page that I am calling via CFSelenium. As far as my running ColdFusion application is concerned, that is just any page being called by Selenium-RC. I can get the data from the error (right now by using

ColdFusion Hosting Recommendations

2011-11-04 Thread Steve Bryant
is just getting started, so if you have any feedback let me know. Maybe next time someone asks for hosting recommendations, this site will make for a useful answer. Thanks! Steve Bryant www.bryantwebconsulting.com/blog

Re: ColdFusion Hosting Recommendations

2011-11-04 Thread Steve Bryant
Russ, That is certainly a concern and I do have some steps in place to combat that. At the same time, I am really torn with how to balance fraud checks with making it painless to post a review. Anyone else have any thoughts on this? (more thoughts from you, Russ, are welcome as well of

Re: CF Cart/Store

2011-06-28 Thread Steve Bryant
John, As the author of StarterCart, I am decidedly biased. That being said, switching out to use points instead of money should be a small matter. You would have to extend StarterCart.cfc and change/replace the processPayment method to deduct points instead of hitting a payment gateway. You

Re: CF Cart/Store

2011-06-28 Thread Steve Bryant
John, The fact that the site is cfwheels could be the bigger challenge here. StarterCart is written on my own Neptune framework. While Neptune is able to play with other frameworks, it does use direct access .cfm to files (instead of routing all requests through index.cfm), so I am not sure

Re: Little help with a query please...

2011-05-04 Thread Steve Bryant
Les, That looks good. Did you try running that directly in your database? While I was looking at your query, I thought I would toss out how I would have written it, which removes an extra conditional and an extra variable: SELECT id_page,headline,content,section FROM

Re: Updating content via email

2011-04-28 Thread Steve Bryant
This is pretty much the approach that I am taking with an application of mine. I have it set up so that any user can send the program an email with the subject of Help to find out commands that they can send by email as well as a list of items with mailto: links for sending the program email

Re: CFM Generators

2011-03-30 Thread Steve Bryant
If anyone else knows of similar sites please do post some links. Zac, Thanks for the kind words. The best place to look for these sorts of things is Charlie Arehart's brilliant CF411. I see that I haven't asked Charlie to list my generator yet, so I will try to do that soon. Here is the

Re: Open source ColdFusion forums

2011-03-30 Thread Steve Bryant
For anyone interested, the near future has arrived and the second beta of Neptune is out. http://www.bryantwebconsulting.com/blog/index.cfm/2011/1/18/Neptune-Beta-15 I look forward to any and all feedback! Thanks, Steve Take a look at the Neptune framework and see if it doesn't come close

Re: Open source ColdFusion forums

2011-03-30 Thread Steve Bryant
Thanks on both counts! Steve I think you linked to the Beta 1.5 release. Here is the blog article for Beta 2: http://www.bryantwebconsulting.com/blog/index.cfm/2011/3/30/Neptune-Framework-in-Beta-2 Good job, Steve, this looks like an interesting project. I shall have to check it out. Cheers,

Re: Open source ColdFusion forums

2011-03-29 Thread Steve Bryant
I'm thinking in terms of a set of tools which handle building the forms and processing data at runtime, not a generic code generator. I want to be able to define my field and its properties once and then have that automatically applied everywhere (add/edit form displays, validation, processing,

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-17 Thread Steve Bryant
I prefer to have the domain names in a database mapped to a primary domain name or an application name. This allows me to have a UI to enter new domain names as they are needed (we add them pretty frequently). That also allows you to write code to your web server to add bindings for each

New Open Source Shopping Cart

2011-02-15 Thread Steve Bryant
I recently released a beta of a new free and open source shopping cart that I have created. It is slim on features, but built to be very easy to customize. For example, you can use externally defined products (even from multiple sources) and it is very easy to add fields to any existing

Re: Multiple applications with a single codebase issues

2011-02-08 Thread Steve Bryant
You can accomplish that by using the domain name (CGI.SERVER_NAME) to figure the ApplicationName, for example (perhaps not directly though). Also check out the Many Sites, Single Codebase blog series by Steven Cutter Blades:

Re: refreshing application variables

2011-02-08 Thread Steve Bryant
Normally Dave Watts really knows his stuff, but I have to disagree with one of his suggestions. I definitely would NOT refresh an application by renaming it. While this will work, I would think that would leave the old Application scope running on the server. This isn't something that the GC

Re: why is cf_builder so slow? (was: expensive)

2011-01-27 Thread Steve Bryant
Nathan, I have experienced quite a bit of slowness in ColdFusion Builder. It will randomly hang, sometimes it recovers and sometimes it takes so long that I shut it done and restart (at which point the long restart is annoying). A friend recently suggested that closing large projects (not the

Re: Insert without checking existance

2011-01-27 Thread Steve Bryant
Michael, I typically use a SELECT INTO with a NOT EXISTS clause. That keeps the entire thing in one tight query. http://www.bryantwebconsulting.com/blog/index.cfm/2005/3/16/prevent_duplicate_inserts See also the link in the comments for a more fail-safe method (though specific to SQL

Re: why is cf_builder so slow? (was: expensive)

2011-01-27 Thread Steve Bryant
Sean, Good to know. I don't remember running into that in CFEclipse, but likely I just didn't have as many large projects running at the time. Thanks, Steve Yup, when I start work on a project, I tend to right-click Close Unrelated Projects as a matter of course. That's an Eclipse thing,

File Upload Security

2011-01-18 Thread Steve Bryant
When I released my Neptune framework a few weeks ago, you guys were kind enough to give me some constructive feedback on file upload security. I have made some changes in response to that feedback and I would love to find out what everyone thinks about them. * Added a file.cfm to serve up

Re: File Upload Security

2011-01-18 Thread Steve Bryant
Matt, Thanks for the kind words. You are certainly right that I didn't do a good job in outlining the options available for custom tag usage in the documentation. So, I changed the installation page to link to a new page on custom tags.

Re: File Upload Security

2011-01-18 Thread Steve Bryant
Ray, The next sentence in the documentation starts with This isn't required. Based on Matt's advice, I also added a page to the documentation detailing all of the options for custom tag use (CustomTags folder, This.CustomTagPaths , CFIMPORT, CFMODULE). I prefer This.CustomTagPaths as well.

Re: File Upload Security

2011-01-18 Thread Steve Bryant
Mark, Thanks. I really do appreciate all of the advice. It was really helpful. Steve Steve, Nice job looks like you took that file security thing to heart. -mk ~| Order the Adobe Coldfusion Anthology now!

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-05 Thread Steve Bryant
Russ, Thanks for your comment and encouragement. The scrutiny is certainly valid. I don't think the problem is as serious as it first appeared, but it is with regard to all uploaded files handled by the framework so it is a pretty significant area of concern and definitely something I am

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-05 Thread Steve Bryant
Exactly! No need to set up URL rewriting and if you want to edit content for the URL /my-folder/my-file.cfm then just open the file at that location and edit it. If you want to set up some URL rewriting so that the URL is /my-folder/my-file/ (or anything else) instead, nothing in the

Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Hello fellow CFers, I just released a beta of a new ColdFusion framework called Neptune and I would love to get some beta testers to help me find bugs or make suggestions on how it could be improved. We have been using it internally for a few years on several projects, so I am curious to see

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Andrew, The default folder for uploading files has a Application.cfm that just contains cfabort to help mitigate that risk. Assuming the uploads themselves limit file types allowed, how serious a risk do you think that is? Also, yes, easy to configure. Just change the UploadPath setting in

Re: cf form security

2011-01-04 Thread Steve Bryant
Rob, cfqueryparam will protect you from SQL injection hacks but for other sorts of security, you might want to look into John Mason's (free / open source) Portcullis project which is probably just what you are looking for. http://portcullis.riaforge.org/ You might also look at Pete Frietag's

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Andrew, I'll have to ponder that. Right now the following XML would create a table with two file fields, one of which would accept only images and the other would accept only vcard files. table entity=Contact field name=ContactImage Label=Image type=image folder=images / field

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Duane, Good question. I would think so, but I am not expert enough on the topic to be confident of that. I believe I have that set already in the folder in the zip as well as in the download created from the generator. If not, I will correct. Anyone know a reason why that would not be

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Andrew, Correct me if I am mistaken, but I thought that was if the system was checking *only* mime-type. The framework checks both mime-type AND file extension. I did check on that at the time of that exploit and ensured that our framework was protected from that exploit. If I have missed

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
David, That is certainly another point altogether. As I said, the framework does allow you to configure location and URL path for uploaded files which *should* allow a URL path like /file.cfm?file=. I have added testing that as a relatively high-priority task for my next round of work on the

Re: Best Practive for Updating using cfqueryparam

2011-01-04 Thread Steve Bryant
cfset loopcount=0 cfloop index=UpdateRecord list=#FORM.RecordsToUpdate# cfset loopcount = loopcount+1 cfquery name=updDisplayOrder datasource=#DSN# UPDATE Pages SET Pages.DisplayOrder = cfqueryparam cfsqltype=cf_sql_integer value=#ListGetAt(FORM.DisplayOrder, loopcount)# WHERE Pages.PageID =

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Andrew, You just hit me with a You should know that and a Steve needs to understand I get that you have a headache, but I am not trying to fight you on this. I am really just trying to get a feel for the threat-level so I can decide on the appropriate action(s) to take. It sounds like

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Ian, I'm not sure that is exactly accurate. A mime-type can certainly be spoofed, no debate there. A file extension can be *changed*, but (unless I understand incorrectly), the server is going to decide how to handle a file based on the extension. So, for example, you may save a ColdFusion

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Andrew, Definitely a good point which is why I mentioned modifying the framework to have black-listed file extensions that would have to be explicitly allowed for a field. I do think, however, that I should have a note on the section about uploading files that a list of allowed extensions

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Mark, I actually remember reading that blog post when it came out (I always love your blog, by the way). To be honest, I don't remember if I am doing that validation in place or not. Certainly this does demonstrate that it shouldn't be done in place - and I will address that if it is. I am

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Mark, Good to know. I certainly understand about future threats, but I think this is sufficient to keep my current approach (with the modifications outlined) with only a relatively mild warning about putting files outside the web root (but a major one about white listing extensions). Maybe I

Re: Layout Components (was Neptune Beta Testers)

2011-01-04 Thread Steve Bryant
Sean, Thanks for pointing that out. It certainly is a problem in the documentation. Those convolutions actually have nothing to do with white-space at all (nor do they impact it). It is just a syntax that I personally preferred as it makes it easy to ignore the CFML and look only at the HTML

Re: Beta Tester Wanted for new CF (MVC) Framework

2011-01-04 Thread Steve Bryant
Yeah, not being able to disable execute permissions would be annoying, but I think the other protections should still cover the possibilities pretty well. Nonetheless, that probably does deserve a note in the docs (including we would recommend finding another host). Just to clarify, I do

Re: FW: CFGURU: bounce email extractor

2010-09-23 Thread Steve Bryant
Russ, I have used Ray Camden's getEmail UDF as part of my process for handling bounces. http://cflib.org/index.cfm?event=page.udfbyidudfid=928 You might also look into Brian Ghidinelli's Email Bounce Detector for finding the bounces: http://bouncedetector.riaforge.org/ Steve Possibly a bit

Re: manipulating Excel files

2010-08-30 Thread Steve Bryant
Marc, In this case it might be helpful to understand why POI isn't an option so that people can suggest approaches that might be useful but fit within your constraints. Steve ~| Order the Adobe Coldfusion Anthology now!

Re: CF Shopping carts

2010-06-29 Thread Steve Bryant
I just finished deploying a shopping cart on a second. I am planning to release it as FOSS as soon as I get a little bit of documentation written. In writing it, I used cfpayment (http://cfpayment.riaforge.org/). It provides an abstraction layer to several payment gateways and it is easy to

Re: CF Shopping carts

2010-06-29 Thread Steve Bryant
Denny, Alright, this is sounding pretty freaking good. Yeah, cfpayment is really amazing. I am always surprised that it doesn't get more attention that it does. Leveraging cfpayment sounds excellent, and we could toss in some i18n stuff right from the beginning as well... I haven't

Re: Using XML to Create schema/database

2009-12-10 Thread Steve Bryant
Tom, Usually the detail portion of the error will include more information - usually the error returned from the database. Make sure that the database exists and has CREATE and ALTER permissions (if you want DataMgr to create tables and columns). If you have any more trouble, you can check

Re: convert this cfscript back to tag?

2009-12-10 Thread Steve Bryant
cfloop list=#form.whatToUpdate# index=tempVal cfset Form.ID = tempVal!--- Option ID --- cfset Form.newRank = Form[rank_#tempVal#] /cfloop ~| Want to reach the ColdFusion community with something they want? Let

Re: Using XML to Create schema/database

2009-12-09 Thread Steve Bryant
Tom, As Isaac mentioned his DataFaucet project and my DataMgr project will both create tables and columns from XML. DataMgr will also allow you to define the data (not sure about DataFaucet): http://www.bryantwebconsulting.com/docs/datamgr/synchronize-database-structure-activeschema.cfm

Re: multi-database code

2009-10-26 Thread Steve Bryant
Ramon, I actually wrote a component set a while back to do just that: http://www.bryantwebconsulting.com/docs/datamgr/ One advantage over ColdFusion ORM is that it is written in 100% CFML, so you can open it up and see all of the code. Steve Just curious how others handle making their

Re: coldfusion to setup iis websites

2009-10-21 Thread Steve Bryant
This is my favorite solution: http://blog.1smartsolution.com/index.cfm/action:posts.entry/id:188/Small-change-to-Steve-Bryants-script-for-adding-a-Web-Site-to-IIS hi, is there a way to setup iis websites directly with cf code?

Read a vcard

2009-03-03 Thread Steve Bryant
Does anyone have any recommendations for reading a vcard file with ColdFusion? I figured someone must have written something already, but the only thing I found in CF is encrypted and threw an error when I tried to use it. Any recommendations?

Re: MIVA

2008-08-16 Thread Steve Bryant
Thanks for all of the input. It really is helpful. ~| 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:

MIVA

2008-08-15 Thread Steve Bryant
I am planning some e-commerce work with a client of mine and they have read about MIVA and they are very impressed by it. I have read a bit about it, but I have to confess that I don't feel like I really understand what it is or the advantage it offers. The site is currently using a

Re: Perhaps a little over complicated - Dissecting a String

2008-03-24 Thread Steve Bryant
I think you want: #Left(ListFirst(string,.),100)#. (untested) Instead of returning say just 100 characters. Is there a way to return the first sentence only if its under 100 characters, and if not then 100 characters resulting in a cut off string.

Re: query help

2008-03-08 Thread Steve Bryant
The nice thing about SQL is you can often write the query almost how you word the problem: SELECT user_id,user_name,doc_id,doc_name FROMUSERS,DOCS WHERE NOT EXISTS ( SELECT signoff_id FROMUSER_DOCS WHERE user_id = USERS.user_id

Re: query help

2008-03-08 Thread Steve Bryant
Josh, I use WHERE EXISTS and WHERE NOT EXISTS with some frequency and I have never run into any performance problems with it. In SQL Server, each join statement needs an on clause, even if it is 1 = 1. I ran some quick tests with about 50 rows in one table, 200 in another, and about a dozen

Re: query help

2008-03-08 Thread Steve Bryant
Josh, The SQL I posted worked for me in my tests. If you deviated from that, can you post the SQL that you used? Assuming the join table doesn't have any duplicate rows (and no rows exist in the join table without a match in both of the other tables) then the resultset of the query should

Re: Help: INNER JOIN

2008-03-06 Thread Steve Bryant
The syntax that you used works in most databases, but not in MS Access. Access only allows one join per query without parenthesis. You can use parenthesis to join two tables together in one set and then join that set to a third table, however. Not as easy, but it does work. Steve I have the

Re: CFC, Custom tag, or something for tedious SQL Queries?

2008-01-10 Thread Steve Bryant
George, I wrote DataMgr for just this sort of thing. http://www.bryantwebconsulting.com/cfcs/ http://datamgr.riaforge.org/ If you are using OO, then an ORM would be the way to go. Transfer, Reactor, and objectBreeze. I wrote some brief thoughts on different approaches here:

Re: Model-Glue amp; CrystalTech

2008-01-07 Thread Steve Bryant
No, the application is doing hardly anything at all (after getting passed the MG init). Hm, perhaps I have missed something in transfering the site to the new host. Thanks, Dominic ~| Adobe® ColdFusion® 8 software 8 is the

MS SQL Aggregating

2007-12-04 Thread Steve Bryant
I am trying to put together an aggregation table for some reporting. So far, I have a query that looks something like this: DECLARE @MyID INT, @ReportDate datetime SET @MyID = 1 SET @ReportDate = '2007-12-01' UPDATE rptMyDays SET

Re: The required parameter APPLICATION.objects.db was not provided. IS!

2007-12-04 Thread Steve Bryant
Marc, Does this init() method of your component return THIS? If it doesn't return anything, then the result will be the annihilation of your default - as though it had never been set. Steve Hi, Because I want to speed up access to calls to a component I put it in the application scope.

Re: CFC to check spam score BEFORE sent...

2007-10-30 Thread Steve Bryant
I would like to install something on our server that will check an emails spam score before we send it out to catch any problems. Is there any solution cfc, java, .net, server software ( windows 2003 ) that anyone knows about. John, I wrote something recently that might meet your needs:

Re: CFC to check spam score BEFORE sent...

2007-10-30 Thread Steve Bryant
Mark, It assigns points to each email (actually to each structure that it is given). http://www.bryantwebconsulting.com/cfcs/SpamFilter.htm You can pass the structure to the getPoints method and it will return the number of points it gives to that structure (based on the defined words and

Re: ColdFusion SQL Date problem

2007-10-10 Thread Steve Bryant
Donald, Did you upgrade your database from MySQL4 to MySQL5 as part of your upgrade to CF8? If so, you might check your submitDate field in your tblRegistration and see if the default still exists in the table (assuming you were using a default value to set the current date in that table).

Re: Testing for the existence of a dynamic structure that may or may not exist.

2007-07-02 Thread Steve Bryant
StructKeyExists is good for this. cfif NOT StructKeyExists(stWSSB_Tickler,sku) cfset stWSSB_Tickler[sku] = structNew() /cfif Steve Is there any way to do this w/o causing an error/exception if the structure does not exist? cfif NOT isDefined(stWSSB_Tickler[sku]) cfset

Re: many CFSCHEDULE's ??

2007-06-22 Thread Steve Bryant
I would second that. In fact, I typically have only one cfschedule for a site. It calls a page that manages all of the scheduled tasks for that site. That makes it easy to have more complicated logic for when a task should run (ex: second Tuesday of the month) as well as providing one place

Remote Server Monitoring

2007-05-09 Thread Steve Bryant
that someone might have experience with a specific service with which they have experience. Thanks, Steve Bryant Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ ~| Create robust

Re: MySQL 4.1 and CFQUERYPARAM

2007-03-09 Thread Steve Bryant
where). Using CreateODBCDate() and 1/0 has worked for every database I have used and cfqueryparam has worked in every other case. Hopefully that will help you in your search. HTH, Steve Bryant Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com

Re: Converting MS Word-exported HTML to clean HTML

2007-02-27 Thread Steve Bryant
(MyStruct[Key], Chr(8212), -, ALL);// dashes /cfscript HTH, Steve Bryant Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ Does anyone have a CF (needs to be server-side) component, or cfm script/page to convert the HTML you get from a MS Word

Re: cfinsert/cfupdate and double quotes

2007-02-26 Thread Steve Bryant
will be loaded into an attribute of the tag and the browser will interpret the value as the end of the attribute value. You might use HTMLEditFormat() or replace the quote with quot;. Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http

Re: cfinsert/cfupdate and double quotes

2007-02-26 Thread Steve Bryant
It's just not *displaying* when looking at the above. So value=#htmleditformat(getapp.ID_app_owner)# Or is there a better way? That is what I do. This also helps with security. ~| Upgrade to Adobe ColdFusion MX7

Re: ORM Question

2007-02-20 Thread Steve Bryant
if you have any questions. Apologies if this is what you wanted. I thought Transfer might do what you wanted, but I looked through the documentation and saw no evidence that it would. Thanks, Steve Bryant Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http

Re: ORM Question

2007-02-20 Thread Steve Bryant
Rob, If you are looking for Transfer presentations, Mark links to a few from the Getting Started page of his documentation: http://www.compoundtheory.com/transfer/documentation/gettingStarted.html Steve Nick, I'll definitely look at the interview with Mark. I've also heard about at least one

DNS Redundancy

2006-11-27 Thread Steve Bryant
Given that the recent Crystal Tech outage seems to have been from a DDOS attack on their DNS servers, does anyone know of a good back-up service for DNS servers? Thanks, Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com

Re: DNS Redundancy

2006-11-27 Thread Steve Bryant
always had the host handle the DSN in the past. I am really looking for recommendations on which company/service I should use for this purpose. Thanks, Steve Steve Bryant wrote: If you're running more then one DNS server, DNS is inherently redundant. If the first server times out, then your

Re: CFC (Object) Composition Question.

2006-11-15 Thread Steve Bryant
have an IS-A relationship - which I don't see in your example). Steve Bryant Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ In my long struggle to get my head around OOP principals, I've been playing with a card game application. And I have

Re: CFC (Object) Composition Question.

2006-11-15 Thread Steve Bryant
I can't see a reason why the table object should have a removeCard() method. It just needs to call player.removeCard(). Basically, it is just telling the player to remove a card. It doesn't care how the player does it. The player would in turn call the removeCard() method of the hand.

Re: Query Problem

2006-11-06 Thread Steve Bryant
to any value, of course. Of course, I tend not to worry about performance unless testing shows it to be an issue. Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ There can multiple artists per track (e.g. the album Back

Re: Query when using UUID

2006-11-06 Thread Steve Bryant
This should be the easiest way: cfquery name=qSelectedCases datasource=#REQUEST.dsnSQL# SELECT P.caseID, P.twgCaseNumber FROM MyClient_Clients_Projects_List P WHERE P.caseID IN (cfqueryparam value=#FORM.caseID# cfsqltype=CF_SQL_VARCHAR list=Yes) ORDER BY P.twgCaseNumber ASC /cfquery HTH, Steve

Re: cfupdate/cfinsert tags - changed from CF5 to CF7?

2006-10-31 Thread Steve Bryant
://www.bryantwebconsulting.com/presentations.cfm It supports Access, MySQL, PostGreSQL, and SQL Server. If you are using another database, feel free to contact me off list and I can try to add support for your database. HTH, Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com

Re: What to use beside cfinclude

2006-10-31 Thread Steve Bryant
cfhttp is probably what you want. Steve All, I have a cf page on domain1.com page1.cfm and I want to include a cf page that resides on domain2.com, page2.cfm and have it appear on domain1.com's cf page of page2.cfm. Cfinclude does't work. I don't want to use iframe or frames I want it to be

Re: Problem with ORDER BY clause

2006-10-23 Thread Steve Bryant
Rick, Have you tried dropping your cachedwithin statement during testing and development? Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ No matter what I do, I can't seem to get the following query to ORDER

Re: SOT: Any way to get table names and datatypes via a query?

2006-10-22 Thread Steve Bryant
INFORMATION_SCHEMA.TABLES WHERE Table_Type = 'BASE TABLE' AND Table_Name 'dtproperties' HTH, Steve Bryant Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ PS - DataMgr will work for Access, SQL Server, MySQL, PostGreSQL. I can add support

Re: Noob MSAccess query struggle

2006-10-22 Thread Steve Bryant
Walter, You are grouping by dateSigned which ensures that the min() and max() will be the same (because you get a new record for each value of dateSigned). Remove dateSigned from your select statement and your group by statement and see if your results make more sense. Steve Bryant. Bryant

Re: regex help

2006-08-28 Thread Steve Bryant
; } /cfscript If your need is otherwise, let me know. Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ Was wondering how I would strip out everything between a href=this,that and the otherword/a and just leave the word

Re: regex help

2006-08-28 Thread Steve Bryant
); } return result; } /cfscript Will that do what you need? Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ Well, what I really want to do is takethe page source and whatever the page might have in it and strip everyting but what

Re: How would I code this line?

2006-08-25 Thread Steve Bryant
Rick, You can't use cfif within a cfset like that. I think you cfsavecontent would be the best solution (best here being most readable and maintainable). cfsavecontent variable=Session.Client_Name #Get_New_Client.Client_First_Name# #Get_New_Client.Client_Middle_Name#

Re: Validation Protection from Javascript Disabled browsers

2006-08-11 Thread Steve Bryant
your client and server-side validation from one set of custom tags (eliminating the redundancy in code). http://www.bryantwebconsulting.com/cftags/ Hope that helps, Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com

Re: CRUD

2006-08-07 Thread Steve Bryant
://www.bryantwebconsulting.com/presentations.cfm http://www.bryantwebconsulting.com/cfcs/ If you watch the presentations, note that they have yet to be updated for new deployment options: http://steve.coldfusionjournal.com/datamgr_12_released.htm HTH, Steve Bryant 918-449-9440 Bryant Web Consulting LLC

Re: CRUD

2006-08-07 Thread Steve Bryant
itself. Does DataMgr do this too? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Steve Bryant [mailto:[EMAIL PROTECTED] Sent: Monday, August 07

Re: Query Sorting

2006-06-17 Thread Steve Bryant
Thanks, The query is generated from form fields, so I ended up having to use the list approach (had tried it before, but I must have been tired - it was easy enough this morning). I just made a modification of Ray Camden's QuerySort UDF so that it manually creates a new recordset it the QofQ

Query Sorting

2006-06-16 Thread Steve Bryant
using QofQ, but I haven't had any luck. I was hoping someone smarter than I might know the answer? Anyone? Bueller? Thanks, Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com

Re: Announce: Advanced ColdFusion Contest

2006-06-12 Thread Steve Bryant
On that note, do you think some of the rules for the engine would need to be something other than regular expressions? Steve And just so it's clear - I'm more than cool with folks talking about the contest. The point isn't to win the prizes - but more to attempt to solve the problem,and to

Re: cfinsert and pasted crap in a textarea

2006-05-30 Thread Steve Bryant
Ben, In your experience, have you found any reason not to do this for every insert and update? Steve Les, What I do is at the top of every page processing, I loop through the FORM scope to strip out special MS word characters, or replace them. Soemthing like this (part of my EscapeForm()

Re: sql insert statement

2006-04-16 Thread Steve Bryant
David, It looks like you have an extraneous ] at the end of your query. Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ I'm not functioning here: Error Executing Database Query. [Macromedia][SQLServer JDBC Driver

  1   2   >