Re: OT: Disabling Flash Links
On Monday 10 October 2005 23:29, Jim McAtee wrote: all embedded links, so that we can force the link to go through our click.cfm script and record the click-through? Place a transparent div over it, with an onClick event handler ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220635 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: 64 bit Server Question, Help Please
CF should run and install no problem on a 64-Bit Linux machine but you may need to recompile the Apache connector. -Original Message- From: Jorge Tejada [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 04:26 To: CF-Talk Subject: 64 bit Server Question, Help Please We were using PHP in a HP server, now we want to to move to CFMX7 on a new server HP Proliant 370 that my boss have bought, It's running Red Hat Enterprise Linux 3, but it's the 64 bits edition. I really love CF, but I wonder if we could deploy it on this server, has anyone have tried to do this on a 64 bit machine? PD: I have convinced my boss to purchase CFMX7 Standard Edition ;-), Please help me! regards ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220636 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
ColdFusion DataDirect JDBC drivers 3.5 ETA?
Hi, We hit the stored procedure issue with ColdFusion MX 6.1/7 and Oracle Database 10g R2. Does anyone know when Macromedia is going to release the updated DataDirect JDBC drivers (version 3.5)? Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220637 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ColdFusion DataDirect JDBC drivers 3.5 ETA?
Macromedia will not be releasing them per say - they belong to DataDirect; -Original Message- From: wolf2k5 [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 10:47 To: CF-Talk Subject: ColdFusion DataDirect JDBC drivers 3.5 ETA? Hi, We hit the stored procedure issue with ColdFusion MX 6.1/7 and Oracle Database 10g R2. Does anyone know when Macromedia is going to release the updated DataDirect JDBC drivers (version 3.5)? Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220638 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?
On Tuesday 11 October 2005 10:46, wolf2k5 wrote: Does anyone know when Macromedia is going to release the updated The beta just finished, so 'soon'. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220640 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Flash Error Handling
All, I'm just implementing a Flash Remoting system and I'm encountering a strange problem with exception handling. Basically, I want to be able to cfthrow and error and the flash application to pick that up and handle it. I have a fault handler in Flash which successfully detects there is an exception and calls the code within. The problem is the error that is detected is not the message I have thrown, its an exception cannot convert the value of type class coldfusion.runtime.TemplateProxy to a Boolean Here is my flash handler code: function gotCategories_Fault(fault:FaultEvent):Void { trace(Categories Fault: + fault.fault.faultstring); } Anyone else experienced this or am I just doing something wrong? Thanks in advance. Gavin ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220639 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cutting: aabbcc0000
Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220641 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe Left(string, count) so... Left(yourField,6) ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220642 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
You mean trailing zeros? Would they always be trailing? And would there always be 4? -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 13:25 To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220643 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Shopping Cart solution - any others to look at?
My advice, and this is gonna be wildly unpopular on this list, is to use X-Cart (www.x-cart.com). It's PHP not CF, but it is very good. I've used it in a number of situations and I've never regretted it. I always wished I was better at PHP when using it, as it would have taken me a lot less time to do some of the custom mods I did, but it really is a nice app. Actually, what I really wished is that I had time to dedicate to making a CF store app that matched X-Cart feature for feature -- that would be the perfect scenario. It's cheap too; for a complete Gold license with source and all is only $200 and it will give you, I bet, everything you need. I agree with the others that building your own cart is the way to go, but if time is an issue you can get x-cart up and running and loaded with products in just a couple of days. --Ferg Scott Mulholland wrote: Our plan is to roll our own out in the future, the creation of it is not a factor for us on this one, the timeframe is so we are looking to go off the shelf this time around. -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 10:04 AM To: CF-Talk Subject: Re: Shopping Cart solution - any others to look at? I'm currently evaluating some e-commerce solutions for an upcoming project. Past postings have pointed me to look at cartweaver, cfwebstore and ablecommerce. I have also looked at a couple of non-cf based solutions. Are there any others that I should be looking at or dos anyone have any feedback, good or bad about the ones I named above? Scott, Web Monkey has a fairly simple shopping cart for CF that's easily modifiable, and free. http://www.webmonkey.com/webmonkey/99/49/index4a.html?tw=programming You could also roll out your own, they're not very difficult to create. hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220644 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF Search Engine Tags/Techniques?
I'm building a non-Verity search engine into one of my apps. At this point, what I have is a VERY basic SQL LIKE query. Can anyone point me to any resources, articles, tags, etc. that would help me expand the complexity of the search (and thus quality of results)? Thanks! Jake ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220645 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re[2]: cutting: aabbcc0000
Hello Michael, Tuesday, October 11, 2005, 2:33:09 PM, you wrote: From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe MTT Left(string, count) MTT so... MTT Left(yourField,6) MTT ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220646 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Benefits of Upgrading to MX6.1 or MX7
Dave, Thanks. Unfortunately, none of this seems to be a big benefit for the client, who pays the cost. They seem quite happy to pay for us to write the unstructured CF5 code. Kevin -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 10 October 2005 18:07 To: CF-Talk Subject: RE: Benefits of Upgrading to MX6.1 or MX7 One of my customers has asked me to give him some figures on the performance improvements that would be possible if they moved from the current CF5 site to CF6.1 or CF7 Unfortunately, you're unlikely to find any useful numbers for this, since performance differences are hugely dependent upon specific applications and environments. You may find a vast improvement with your customer's applications, or you may even find worse performance! In any case, performance alone is probably not the best reason to upgrade. There are many other, much better, reasons. The ability to write and use CFCs is one - being able to structure your code in a more useful manner, and being able to incorporate OO concepts within your code, may significantly decrease the amount of time you spend maintaining that code. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220647 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
google-search 2
As y'all have read, I'm trying to replicate a google-like search on our database. I think that I have the CF and DB (Oracle) logic worked out but I'd like someone else to look it over and see if it's right. I want to search the same way that google does since most people are used to that. I want words separated by spaces, quoted text (a phrase) treated as a single word, + meaning that it must have the word and - that it must not contain the word. Here's the search page which allows for a search of a few different columns: http://hhp.umd.edu/people/people_search.cfm and here's the code that I use (and any improvements are welcome): !--- before this, I make the three arrays described here: - search_ar: the OR search items - search_must: the AND must contain items, designated as + before the word - search_not: the items that must not contain in the returned results, designated as minus before the word --- CFQUERY NAME=people_search DATASOURCE=dpch SELECT id,fname,lname,type,title,dept,phone,location,email,summary,imagePath,li nk FROM PEOPLE WHERE cfloop from=1 to=#arrayLen(search_ar)# index=ii UPPER(#PreserveSingleQuotes(the_search_column)#) LIKE UPPER('%#search_ar[ii]#%') cfif ii LT arrayLen(search_ar)OR/cfif /cfloop cfif arrayLen(search_ar) GT 0 AND arrayLen (search_must) GT 0AND/cfif cfif arrayLen(search_must) GT 0 ( cfloop from=1 to=#arrayLen(search_must)# index=jj UPPER(#PreserveSingleQuotes (the_search_column)#) LIKE UPPER('%#search_must[jj]#%') cfif jj LT arrayLen(search_must)AND/cfif /cfloop ) /cfif cfif (arrayLen(search_must) GT 0 OR (arrayLen (search_ar) GT 0 AND arrayLen(search_must) EQ 0)) AND arrayLen (search_not) GT 0AND/cfif cfif arrayLen(search_not) GT 0 ( cfloop from=1 to=#arrayLen(search_not)# index=kk UPPER(#PreserveSingleQuotes (the_search_column)#) NOT LIKE UPPER('%#search_not[kk]#%') cfif kk LT arrayLen(search_not)AND/cfif /cfloop ) /cfif !--- --- AND status = 'active' ORDER BY upper(lname) ASC /CFQUERY thanks! _ Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220648 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Benefits of Upgrading to MX6.1 or MX7
With 20 years of do I upgrade questions for both myself and the client, the conclusion that usually comes to pass (either after a good decision or a bad one) is that upgrading an incremental version is a lot less to chew on than upgrading two or three in one fell swoop. A shortsighted client will likely want to stand pat, but those with any amount of experience will take the path of learning and utilizing a smaller set of new features every couple years, rather than experiencing a paradigm shift that occurs when leapfrogging multiple versions. It becomes a case of pennywise and pound foolish when the client is FORCED to upgrade several versions, and the programmer needs more time to learn the new version. Is this always the case? Of course not. But in my experience it is in the best interest of the programmer and the client. If I were in your shoes and the client was a good one, I would offer to split the cost of the upgrade, if for nothing more than to keep your skills working on the latest version. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220649 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Benefits of Upgrading to MX6.1 or MX7
House of Fusion was running 5. I beta tested 6 but decided not to move to it. I beta tested 6.1 but decided not to move to it. I beta tested 7 and have been running it live on House of Fusion since early in the beta and I loved it. It's been up for over a year now and when this question comes up I throw the full weight of my sites and name behind an upgrade from 5 or 6/6.1 to 7. Well worth it for the performance alone. If you can get a copy of enterprise, the use of the gateways is a killer feature, especially the async gateway. I'm lobbying Macromedia to move that into every version of CF, not just enterprise. It's a feature EVERYONE should have access to. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220650 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Shopping Cart solution - any others to look at?
If you have time and skill, rolling your own is uaually a nice option but one that involves a certain amount of research into things like payment gateways, etc. I'm looking to use cartweaver for clients of Dinowitz and Associates and have been looking over and modifying their code in places where I feel it might look cleaner or tighter. I'm passing my suggestions back to them which will probably result in some upgrades to their product if they like what I did. I'm currently evaluating some e-commerce solutions for an upcoming project. Past postings have pointed me to look at cartweaver, cfwebstore and ablecommerce. I have also looked at a couple of non-cf based solutions. Are there any others that I should be looking at or dos anyone have any feedback, good or bad about the ones I named above? Thanks, Scott --- [This E-mail scanned for viruses by Declude Virus. Service provided by Accurate Imaging, Inc.] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220651 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: google-search 2
Here are some searches I ran sport sport and eeg sport or eeg sport -department sport -department eeg sport -department +eeg associated cognitive associated cognitive I didn't put the parens in the search criteria, I just used them here to denote the actual search criteria I used. (-department) didn't exclude records with the word in it but (sport -jessica) did exclude the one record with the word jessica in it when I searched for sport The search for (sport and eeg) returned many records that had neither word in them (I searched by bio on all of them) Same thing with (sport or egg) Same with (sport and eeg) Same with (sport or eeg) You also have some unicode characters in the displayed text. Example: search the word (home) and look at the last sentence in the first result ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:01 AM To: CF-Talk Subject: google-search 2 As y'all have read, I'm trying to replicate a google-like search on our database. I think that I have the CF and DB (Oracle) logic worked out but I'd like someone else to look it over and see if it's right. I want to search the same way that google does since most people are used to that. I want words separated by spaces, quoted text (a phrase) treated as a single word, + meaning that it must have the word and - that it must not contain the word. Here's the search page which allows for a search of a few different columns: http://hhp.umd.edu/people/people_search.cfm and here's the code that I use (and any improvements are welcome): !--- before this, I make the three arrays described here: - search_ar: the OR search items - search_must: the AND must contain items, designated as + before the word - search_not: the items that must not contain in the returned results, designated as minus before the word --- CFQUERY NAME=people_search DATASOURCE=dpch SELECT id,fname,lname,type,title,dept,phone,location,email,summary,imagePath,li nk FROM PEOPLE WHERE cfloop from=1 to=#arrayLen(search_ar)# index=ii UPPER(#PreserveSingleQuotes(the_search_column)#) LIKE UPPER('%#search_ar[ii]#%') cfif ii LT arrayLen(search_ar)OR/cfif /cfloop cfif arrayLen(search_ar) GT 0 AND arrayLen (search_must) GT 0AND/cfif cfif arrayLen(search_must) GT 0 ( cfloop from=1 to=#arrayLen(search_must)# index=jj UPPER(#PreserveSingleQuotes (the_search_column)#) LIKE UPPER('%#search_must[jj]#%') cfif jj LT arrayLen(search_must)AND/cfif /cfloop ) /cfif cfif (arrayLen(search_must) GT 0 OR (arrayLen (search_ar) GT 0 AND arrayLen(search_must) EQ 0)) AND arrayLen (search_not) GT 0AND/cfif cfif arrayLen(search_not) GT 0 ( cfloop from=1 to=#arrayLen(search_not)# index=kk UPPER(#PreserveSingleQuotes (the_search_column)#) NOT LIKE UPPER('%#search_not[kk]#%') cfif kk LT arrayLen(search_not)AND/cfif /cfloop ) /cfif !--- --- AND status = 'active' ORDER BY upper(lname) ASC /CFQUERY thanks! _ Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220652 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Benefits of Upgrading to MX6.1 or MX7
Keep up the fight - If you've got an online form setup to register our votes then I'm sure plenty of us would second your point. Martin http://www.beetrootstreet.com -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 14:33 To: CF-Talk Subject: Re: Benefits of Upgrading to MX6.1 or MX7 I'm lobbying Macromedia to move that into every version of CF, not just enterprise. It's a feature EVERYONE should have access to. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220653 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFSavecontent vs. multiple CFSets
In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations. Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220654 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Application.cfc and onSessionEnd exception: java.lang.NullPointerException
Hi CF-Talk guys, after the CFMX 7.01 upgrade, I costantly receive an error (perhaps) raised from the onSessionEnd event in Application.cfc: An exception occurred when invoking a event handler method from Application.cfc The method name is: onSessionEnd. Since it is really difficult to debug errors on events like this, I'm not sure the cause is in the onSessionEnd event. Session methods are very simple but despite this, the exception is always raised. cffunction name=onSessionStart returnType=void output=false /cffunction cffunction name=onSessionEnd returnType=void output=false cfargument name = SessionScope required=true /cffunction If i comment the onSessionEnd method, ColdFusion still raises the same onSessionEnd exception (!). If I comment onSessionStart and onSessionEnd methods, the error is gone. What's is happening on my server? I'm using J2EE session variables on my server. Server Product ColdFusion MX Version 7,0,1,116466 Java Version1.4.2_05 Operating SystemWindows 2003 OS Version 5.2 More details from the error below --- Detail An exception occurred when invoking a event handler method from Application.cfc The method name is: onSessionEnd. Message Event Handler Exception. RootCause Error scope - struct Message [empty string] StackTrace java.lang.NullPointerException at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:145) at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168) at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) TagContext Error scope - array [empty] Typejava.lang.NullPointerException StackTrace coldfusion.runtime.EventHandlerException: Event Handler Exception. at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:147) at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168) at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) TagContext Error scope - array [empty] TypeExpression nameonSessionEnd -- Giampaolo Bellavite - Berlin [EMAIL PROTECTED] (PGP key available) ICQ# 9936 - MSN: [EMAIL PROTECTED] ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220655 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFSavecontent vs. multiple CFSets
Hi Michael, Is this one of the opinion questions you ask where you already know your own answer? :) I'd use the CFSaveContent method, but using CFXml instead of CFSaveContent - works the same, but validates the XML and created an XMLDocument object that can by turned into a string via toString(). -Joe On 10/11/05, Michael Dinowitz [EMAIL PROTECTED] wrote: In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations. Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220656 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
str = aabbcc #reverse(right(reverse(str),len(str)-(ReFind(0[^0],reverse(str)# This will remove all nulls from the right. Perhaps there's a more elegant way, but I don't know it. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:25 AM To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220657 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFSavecontent vs. multiple CFSets
For me, cfsavecontent looks more natural. The result is easier to see and more visual space is given to the action performed than the language performing the action. Steve Steve Bryant. Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations. Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Search Engine Tags/Techniques?
Jake, Do you have a reason why Verity is not an option? If not, I would recommend using Verity (or Lucene) for better search results. If you go to Ray Camden's site and search for Verity, you can find several good articles written on the topic. http://ray.camdenfamily.com/ If Verity or Lucene aren't options then LIKE queries are the best option of which I am aware (this is a very good list, so chances are high that someone else has a better answer). HTH, Steve Steve Bryant. Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ I'm building a non-Verity search engine into one of my apps. At this point, what I have is a VERY basic SQL LIKE query. Can anyone point me to any resources, articles, tags, etc. that would help me expand the complexity of the search (and thus quality of results)? Thanks! Jake ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220659 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: google-search 2
Thanks a bunch for your review. I have some comments, but I need to re-read your reply a few times to see how it works out. I didn't implement the use of the keywords AND or OR adn I'm not sure if your use of them below indicates that they're part of the search criteria or meant to be used as keywords. If there's an AND in the line, it'll use it as a search word and anything containing AND (i.e. sand) will be retrieved. (-department) didn't exclude records with the word in it but (sport -jessica) did exclude the one record with the word jessica in it when I searched for sport I'll look into this some more. The search for (sport and eeg) returned many records that had neither word in them (I searched by bio on all of them) Same thing with (sport or egg) Same with (sport and eeg) Same with (sport or eeg) In this case, though I don't know for sure, since the field displays html as html, it might be part of the url. I did sport eeg (again quotes used just to designate the search text) and every record came up with one or the other. Your results might be do to the fact that I am not using AND or OR as keywords - not sure. You also have some unicode characters in the displayed text. Example: search the word (home) and look at the last sentence in the first result I noticed those a few times, thanks. I think that they're curly quotes. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220660 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: FTPS? (was RE: SFTP?)
Related to this, can someone point me to a comparison of the two? I understand that SFTP is SSH file transfer and FTPS is FTP with SSL, but what are the tradeoffs between them if any? In my experience it seems that unix administrators seem inclined to use SFTP while most easy to administer FTP server packages running on Windows use FTPS. From a practical perspective, most client tools I see use sftp, including Dreamweaver and Contribute, which makes me shy away from picking a server that uses FTPS even if it is easy to administer. --- Kevin Graeme Cooperative Extension Technology Services University of Wisconsin-Extension -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 7:59 AM To: CF-Talk Subject: FTPS? (was RE: SFTP?) Actually, I had my acronym backwards (which apparently makes a HUGE difference :). I am really looking for FTPS ability (FTP over SSL). Sorry for the confusion. Any idea where I can find a CF resource for that protocol? Thanks again, Chris ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220661 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
Also, one caveat - if the string itself has a length of 0, it will throw an error. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:52 AM To: CF-Talk Subject: RE: cutting: aabbcc str = aabbcc #reverse(right(reverse(str),len(str)-(ReFind(0[^0],reverse(str)# This will remove all nulls from the right. Perhaps there's a more elegant way, but I don't know it. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:25 AM To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220662 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: google-search 2
On 10/11/05, Daniel Kessler [EMAIL PROTECTED] wrote: As y'all have read, I'm trying to replicate a google-like search on our database. I think that I have the CF and DB (Oracle) logic worked out but I'd like someone else to look it over and see if it's right. I want to search the same way that google does since most people are used to that. I want words separated by spaces, quoted text (a phrase) treated as a single word, + meaning that it must have the word and - that it must not contain the word. Here's the search page which allows for a search of a few different columns: http://hhp.umd.edu/people/people_search.cfm and here's the code that I use (and any improvements are welcome): !--- before this, I make the three arrays described here: - search_ar: the OR search items - search_must: the AND must contain items, designated as + before the word - search_not: the items that must not contain in the returned results, designated as minus before the word --- CFQUERY NAME=people_search DATASOURCE=dpch SELECT id,fname,lname,type,title,dept,phone,location,email,summary,imagePath,li nk FROM PEOPLE WHERE cfloop from=1 to=#arrayLen(search_ar)# index=ii UPPER(#PreserveSingleQuotes(the_search_column)#) LIKE UPPER('%#search_ar[ii]#%') cfif ii LT arrayLen(search_ar)OR/cfif /cfloop cfif arrayLen(search_ar) GT 0 AND arrayLen (search_must) GT 0AND/cfif cfif arrayLen(search_must) GT 0 ( cfloop from=1 to=#arrayLen(search_must)# index=jj UPPER(#PreserveSingleQuotes (the_search_column)#) LIKE UPPER('%#search_must[jj]#%') cfif jj LT arrayLen(search_must)AND/cfif /cfloop ) /cfif cfif (arrayLen(search_must) GT 0 OR (arrayLen (search_ar) GT 0 AND arrayLen(search_must) EQ 0)) AND arrayLen (search_not) GT 0AND/cfif cfif arrayLen(search_not) GT 0 ( cfloop from=1 to=#arrayLen(search_not)# index=kk UPPER(#PreserveSingleQuotes (the_search_column)#) NOT LIKE UPPER('%#search_not[kk]#%') cfif kk LT arrayLen(search_not)AND/cfif /cfloop ) /cfif !--- --- AND status = 'active' ORDER BY upper(lname) ASC /CFQUERY It might have a Google feel from a UI standpoint, but your code above will more than likely not scale at all. First, when you use Oracle functions around column names such as: UPPER(column) = '#UCase(myvalue)#' Oracle will not use any indexes defined on that column, which means it's going to do a full table scan for that value (translation: not scalable). Second, LIKE queries, in general, should be avoided, particularly for heavy search queries. You should really look into using Oracle's Full Text Search capabilities, as the performance difference can be dramatic. It's a little more difficult to implement up front, but that effort will go a long way to saving your database. Some might also say that you should be using cfqueryparam as well so that bind parameters are used, but I've read in several places that user-defined search queries like you have are actually *better off* without bind parameters because you don't risk Oracle creating an initial explain plan for a query based on one set of terms terms, only to find out that another set of search terms should use a completely different explain plan. I don't know what the traffic at that site is like, nor do I know the number of records your searching against (or will search against in the future), but I think you should do some more research into Full Text Searching before committing to your current approach, as I think you're setting yourself up for trouble, if not now, down the road. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220663 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFChart timeout issues
I keep getting the Image Expired, Please refresh the page to view image error with a multi chart page. I've seen workarounds for clustered environments but this is a standalone server. Does anyone know how to fix this? Emmet ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220664 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFSavecontent vs. multiple CFSets
On 10/11/05, Michael Dinowitz [EMAIL PROTECTED] wrote: In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations. Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? I think it depends. What versions of ColdFusion is the codebase expected to work with (I've not looked at cartweaver before)? cfsavecontent wasn't around pre-MX (natively, at least, as I know that it was initially a published custom tag). If the requirement involves pre-MX versions, then cfset is the most backward-compatible. If it's MX (any version), then I would actually likely use the cfxml tag, as that's what it's there for. Regards, Dave. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220665 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFSavecontent vs. multiple CFSets
CFSAVECONTENT is the fastest, since it doesn't have to make a bunch of intermediate strings to produce the final product, whereas CFSETs would... -Dov -Original Message- From: Steve Bryant [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:53 AM To: CF-Talk Subject: Re: CFSavecontent vs. multiple CFSets For me, cfsavecontent looks more natural. The result is easier to see and more visual space is given to the action performed than the language performing the action. Steve Steve Bryant. Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations. Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220666 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?
On 10/11/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Macromedia will not be releasing them per say - they belong to DataDirect; Incorrect. Macromedia licenses the drivers from DataDirect and, as such, had a set of drivers (3.5+) delivered to them for a hotfix release for ColdFusion MX. They don't just take the drivers and push them through their site -- they Macromedia-ize them to make sure licensing checks and the like are performed. Stephen Dupre has been heading a small beta program to make sure the drivers are acceptable, and Macromedia *will* be releasing their Macromedia-ized version in the near future. Regards, Dave. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220667 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFSavecontent vs. multiple CFSets
I think it depends. What versions of ColdFusion is the codebase expected to work with (I've not looked at cartweaver before)? As far as I know the current Cartweaver codebase is supposed to be CF 5 compatible Massimo Foti Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220668 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
resolve a hostname
Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220669 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Rounding...
I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220670 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
getting rid of spaces in file names
Had not run been exposed to this problem before... using CFMail to send jpg files to designated recipients (and CFILE to record the file names)... if there's a space in the file name like my photo.jpg, that jpg is not sent via cmail can someone give me a quick tip on how to deal with this issue... not sure if eliminating that space or spaces in a filename is the way to go (or how to do that) Tim ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220673 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: resolve a hostname
CFOBJECT NAME=addr CLASS=java.net.InetAddress TYPE=java ACTION=create CFSET address=addr.getByName(#CGI.REMOTE_ADDR) Then you have these methods: http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:20 AM To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220672 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
Won't Rtrim() work? -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:00 AM To: CF-Talk Subject: RE: cutting: aabbcc Also, one caveat - if the string itself has a length of 0, it will throw an error. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:52 AM To: CF-Talk Subject: RE: cutting: aabbcc str = aabbcc #reverse(right(reverse(str),len(str)-(ReFind(0[^0],reverse(str)# This will remove all nulls from the right. Perhaps there's a more elegant way, but I don't know it. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:25 AM To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220682 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Best Approach?
What is the best approach to searching a LARGE segment of text for each instance of FONT-FAMILY and changing the actual value of it to ARIAL? Here is an example of the text before it is converted: P class=MsoNormal style=MARGIN: 0in 0in 0pt 1inSPAN style=FONT-SIZE: 11pt; FONT-FAMILY: VERDANATESTING THIS OUT/SPAN Now the catch is, the font-family could be any font, but all needs to be changed to one standard font. Also there are variations of fonts such as: Arial (W1), that should be just ARIAL. Without doing a Search and Replace for each and every variation of each font (which is a nightmare to even consider), I had thought of doing a search for FONT-FAMILY then finding the end of the value by either a single quote, double quote, semi-colon or even the greater than symbol () and then replacing it that way, but it seems to be more cumbersome than it should be. Any ideas on improving that?? Thanks! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220678 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 64 bit Server Question, Help Please
On 10/10/05, Jorge Tejada [EMAIL PROTECTED] wrote: We were using PHP in a HP server, now we want to to move to CFMX7 on a new server HP Proliant 370 that my boss have bought, It's running Red Hat Enterprise Linux 3, but it's the 64 bits edition. I really love CF, but I wonder if we could deploy it on this server, has anyone have tried to do this on a 64 bit machine? PD: I have convinced my boss to purchase CFMX7 Standard Edition ;-), Please help me! Nope, you're out of luck. ColdFusion simply will not run on 64-bit Unix operating systems: http://www.macromedia.com/go/baec9c0c Even though it's dated 7/10/2005, JRun Updater 6, which was released at the end of August still doesn't allow for it: http://www.macromedia.com/support/documentation/en/jrun/4/releasenotes_4_updater6.html I believe, though unsupported, I have read about people getting it to work on 64-bit Windows though. Regards, Dave. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220671 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: resolve a hostname
Ben wrote a few UDFs for just this thing. You can find them at http://cflib.org http://cflib.org/udf.cfm?ID=447 http://cflib.org/udf.cfm?ID=446 -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:20 AM To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220680 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated.. cfset roundInt = int((initNumber + 5)/10) * 10 I think without actually trying it out myself. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220684 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Shopping Cart solution - any others to look at?
Thanks Ferg, we'll look into it that option. We have also looked at oscommerce which is an open source php project. -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:47 AM To: CF-Talk Subject: Re: Shopping Cart solution - any others to look at? My advice, and this is gonna be wildly unpopular on this list, is to use X-Cart (www.x-cart.com). It's PHP not CF, but it is very good. I've used it in a number of situations and I've never regretted it. I always wished I was better at PHP when using it, as it would have taken me a lot less time to do some of the custom mods I did, but it really is a nice app. Actually, what I really wished is that I had time to dedicate to making a CF store app that matched X-Cart feature for feature -- that would be the perfect scenario. It's cheap too; for a complete Gold license with source and all is only $200 and it will give you, I bet, everything you need. I agree with the others that building your own cart is the way to go, but if time is an issue you can get x-cart up and running and loaded with products in just a couple of days. --Ferg Scott Mulholland wrote: Our plan is to roll our own out in the future, the creation of it is not a factor for us on this one, the timeframe is so we are looking to go off the shelf this time around. -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 10:04 AM To: CF-Talk Subject: Re: Shopping Cart solution - any others to look at? I'm currently evaluating some e-commerce solutions for an upcoming project. Past postings have pointed me to look at cartweaver, cfwebstore and ablecommerce. I have also looked at a couple of non-cf based solutions. Are there any others that I should be looking at or dos anyone have any feedback, good or bad about the ones I named above? Scott, Web Monkey has a fairly simple shopping cart for CF that's easily modifiable, and free. http://www.webmonkey.com/webmonkey/99/49/index4a.html?tw=programming You could also roll out your own, they're not very difficult to create. hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220681 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ColdFusion DataDirect JDBC drivers 3.5 ETA?
Yeah, sorry that is what I meant..you have to wait until a hotfix to get em... (from DataDirect via MM) -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:13 To: CF-Talk Subject: Re: ColdFusion DataDirect JDBC drivers 3.5 ETA? On 10/11/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Macromedia will not be releasing them per say - they belong to DataDirect; Incorrect. Macromedia licenses the drivers from DataDirect and, as such, had a set of drivers (3.5+) delivered to them for a hotfix release for ColdFusion MX. They don't just take the drivers and push them through their site -- they Macromedia-ize them to make sure licensing checks and the like are performed. Stephen Dupre has been heading a small beta program to make sure the drivers are acceptable, and Macromedia *will* be releasing their Macromedia-ized version in the near future. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220690 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFSavecontent vs. multiple CFSets
It is CF 5 compatible which is why I'm upgrading it to MX 7. I think it depends. What versions of ColdFusion is the codebase expected to work with (I've not looked at cartweaver before)? As far as I know the current Cartweaver codebase is supposed to be CF 5 compatible ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220691 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: getting rid of spaces in file names
Where is the file name coming from? Are you pulling the file from your file system using cffile, or are people uploading it from a form, or...? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:41 AM To: CF-Talk Subject: getting rid of spaces in file names Had not run been exposed to this problem before... using CFMail to send jpg files to designated recipients (and CFILE to record the file names)... if there's a space in the file name like my photo.jpg, that jpg is not sent via cmail can someone give me a quick tip on how to deal with this issue... not sure if eliminating that space or spaces in a filename is the way to go (or how to do that) Tim ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220687 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
Here's a somewhat clunky method: cfoutput roundToTens(31) = #roundToTens(31)#br roundToTens(27) = #roundToTens(27)#br roundToTens(155) = #roundToTens(155)# /cfoutput cffunction name=roundToTens cfargument name=num type=numeric required=true cfset lastDigit = right(num,1) cfif lastDigit lt 5 cfset result = num-lastDigit cfelse cfset result = num+(10-lastDigit) /cfif cfreturn result /cffunction -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:24 AM To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220679 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
Uew, One of these removes all zeros from the string, the other removes all zeros at the end of a string: cfset myString = aa0bbb0ccc000 cfdump var=#myString#br cfset removeTrailingZeros = ReReplace(myString,0+$,,all) cfset removeAllZeros = Replace(myString,0,,all) cfoutput#removeTrailingZeros#br#removeAllZeros#/cfoutput -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 6:25 AM To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220683 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
divide by 10, ceiling(), multiply by 10? On 10/11/05, J W [EMAIL PROTECTED] wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220686 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: resolve a hostname
does cgi.remote_addr not give you an ip on your system? -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:20 To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220685 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
Hey Jeff, Try: cfset foo = 155 / cfset bar = ceiling(foo / 10) * 10 / cfoutput#bar#/cfoutput -Joe On 10/11/05, J W [EMAIL PROTECTED] wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220688 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
cffunction name=roundTo cfargument name=numToRound type=numeric required=yes cfargument name=roundToNearest type=numeric default=5 cfscript var retVal = 0; retVal = round(arguments.numToRound / arguments.roundToNearest) * arguments.roundToNearest; /cfscript cfreturn retVal /cffunction -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:24 To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220689 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
On 10/11/05, J W [EMAIL PROTECTED] wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 http://www.cflib.org/udf.cfm?ID=613 Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220692 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: 64 bit Server Question, Help Please
Linux -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:24 To: CF-Talk Subject: Re: 64 bit Server Question, Help Please On 10/10/05, Jorge Tejada [EMAIL PROTECTED] wrote: We were using PHP in a HP server, now we want to to move to CFMX7 on a new server HP Proliant 370 that my boss have bought, It's running Red Hat Enterprise Linux 3, but it's the 64 bits edition. I really love CF, but I wonder if we could deploy it on this server, has anyone have tried to do this on a 64 bit machine? PD: I have convinced my boss to purchase CFMX7 Standard Edition ;-), Please help me! Nope, you're out of luck. ColdFusion simply will not run on 64-bit Unix operating systems: http://www.macromedia.com/go/baec9c0c Even though it's dated 7/10/2005, JRun Updater 6, which was released at the end of August still doesn't allow for it: http://www.macromedia.com/support/documentation/en/jrun/4/releasenotes_4_upd ater6.html I believe, though unsupported, I have read about people getting it to work on 64-bit Windows though. Regards, Dave. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220693 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
sending again as original post has not arrived after 30 mins cffunction name=roundTo cfargument name=numToRound type=numeric required=yes cfargument name=roundToNearest type=numeric default=10 cfscript var retVal = 0; retVal = round(arguments.numToRound / arguments.roundToNearest) * arguments.roundToNearest; /cfscript cfreturn retVal /cffunction -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:24 To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220694 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: getting rid of spaces in file names
Eliminating the space is the most definite way. I think that by including the filename in doublequotes it keeps it all together. my photo.jpg;the other file.doc Not completely sure, though. On 10/11/05, Tim Laureska [EMAIL PROTECTED] wrote: Had not run been exposed to this problem before... using CFMail to send jpg files to designated recipients (and CFILE to record the file names)... if there's a space in the file name like my photo.jpg, that jpg is not sent via cmail can someone give me a quick tip on how to deal with this issue... not sure if eliminating that space or spaces in a filename is the way to go (or how to do that) Tim ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220695 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFSavecontent vs. multiple CFSets
It's just a question of preference. I chose CFSAVECONTENT over the CFXML due to familiarity but after reading your mention and looking it up, CFXML might be better, even with using the toString() function after it (another operation). Hi Michael, Is this one of the opinion questions you ask where you already know your own answer? :) I'd use the CFSaveContent method, but using CFXml instead of CFSaveContent - works the same, but validates the XML and created an XMLDocument object that can by turned into a string via toString(). -Joe On 10/11/05, Michael Dinowitz [EMAIL PROTECTED] wrote: In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations. Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220696 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
Rtrim only applies to spaces. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:39 AM To: CF-Talk Subject: RE: cutting: aabbcc Won't Rtrim() work? -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:00 AM To: CF-Talk Subject: RE: cutting: aabbcc Also, one caveat - if the string itself has a length of 0, it will throw an error. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:52 AM To: CF-Talk Subject: RE: cutting: aabbcc str = aabbcc #reverse(right(reverse(str),len(str)-(ReFind(0[^0],reverse(str)# This will remove all nulls from the right. Perhaps there's a more elegant way, but I don't know it. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:25 AM To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220697 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
or round(x/10)*10 On 10/11/05, Munson, Jacob [EMAIL PROTECTED] wrote: Here's a somewhat clunky method: cfoutput roundToTens(31) = #roundToTens(31)#br roundToTens(27) = #roundToTens(27)#br roundToTens(155) = #roundToTens(155)# /cfoutput cffunction name=roundToTens cfargument name=num type=numeric required=true cfset lastDigit = right(num,1) cfif lastDigit lt 5 cfset result = num-lastDigit cfelse cfset result = num+(10-lastDigit) /cfif cfreturn result /cffunction -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:24 AM To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220698 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Shopping Cart solution - any others to look at?
IMHO, (who am I kiddin' you all know I'm not humble) X-Cart is infinitely better that OSC. It's well-supported, has tons of add-ons... For only a couple hundred bucks, it's certainly the better option between the two. --Ferg Scott Mulholland wrote: Thanks Ferg, we'll look into it that option. We have also looked at oscommerce which is an open source php project. -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:47 AM To: CF-Talk Subject: Re: Shopping Cart solution - any others to look at? My advice, and this is gonna be wildly unpopular on this list, is to use X-Cart (www.x-cart.com). It's PHP not CF, but it is very good. I've used it in a number of situations and I've never regretted it. I always wished I was better at PHP when using it, as it would have taken me a lot less time to do some of the custom mods I did, but it really is a nice app. Actually, what I really wished is that I had time to dedicate to making a CF store app that matched X-Cart feature for feature -- that would be the perfect scenario. It's cheap too; for a complete Gold license with source and all is only $200 and it will give you, I bet, everything you need. I agree with the others that building your own cart is the way to go, but if time is an issue you can get x-cart up and running and loaded with products in just a couple of days. --Ferg Scott Mulholland wrote: Our plan is to roll our own out in the future, the creation of it is not a factor for us on this one, the timeframe is so we are looking to go off the shelf this time around. -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 10:04 AM To: CF-Talk Subject: Re: Shopping Cart solution - any others to look at? I'm currently evaluating some e-commerce solutions for an upcoming project. Past postings have pointed me to look at cartweaver, cfwebstore and ablecommerce. I have also looked at a couple of non-cf based solutions. Are there any others that I should be looking at or dos anyone have any feedback, good or bad about the ones I named above? Scott, Web Monkey has a fairly simple shopping cart for CF that's easily modifiable, and free. http://www.webmonkey.com/webmonkey/99/49/index4a.html?tw=programming You could also roll out your own, they're not very difficult to create. hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220699 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Shopping Cart solution - any others to look at?
We have also looked at oscommerce which is an open source php project. I implemented an oscommerce store last year and wouldn't recommend the experience. It may have just been bad for our specific needs, but it was a pain. Fwiw. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220701 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
Or cfset roundInt =int(ceiling(initNumber/10)*10) ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220702 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
So you're always rounding up? Because the nearest whole 10 to 31 would be 30. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:24 AM To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220703 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: getting rid of spaces in file names
Uploading from a form ... then I query the DB and use cfmail like this: cfmail from=[EMAIL PROTECTED] subject=Photos for Quote No. #quote_id# to=[EMAIL PROTECTED] type=html query=mail_info group=client_id cfmailparam file=D:\webserver\domain_name.com\www\images\photos\from_customers\#fil ename# type=image/* /cfmail -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 11:15 AM To: CF-Talk Subject: RE: getting rid of spaces in file names Where is the file name coming from? Are you pulling the file from your file system using cffile, or are people uploading it from a form, or...? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:41 AM To: CF-Talk Subject: getting rid of spaces in file names Had not run been exposed to this problem before... using CFMail to send jpg files to designated recipients (and CFILE to record the file names)... if there's a space in the file name like my photo.jpg, that jpg is not sent via cmail can someone give me a quick tip on how to deal with this issue... not sure if eliminating that space or spaces in a filename is the way to go (or how to do that) Tim ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220707 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: resolve a hostname
Create an object from java.net.InetAddress and cfdump it. You will find everything you need cfobject class=java.net.InetAddress type=java action=create name=inetaddrclass / cfdump var=#inetaddrclass# / Ps... the class name is case sensitive ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:20 AM To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220704 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
sorry, didn't read the question all the way through. On 10/11/05, Marlon Moyer [EMAIL PROTECTED] wrote: or round(x/10)*10 On 10/11/05, Munson, Jacob [EMAIL PROTECTED] wrote: Here's a somewhat clunky method: cfoutput roundToTens(31) = #roundToTens(31)#br roundToTens(27) = #roundToTens(27)#br roundToTens(155) = #roundToTens(155)# /cfoutput cffunction name=roundToTens cfargument name=num type=numeric required=true cfset lastDigit = right(num,1) cfif lastDigit lt 5 cfset result = num-lastDigit cfelse cfset result = num+(10-lastDigit) /cfif cfreturn result /cffunction -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:24 AM To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220700 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
Sorry, I saw the word rounding, and didn't notice you wanted to round UP. Look at the ceiling approaches. cfset roundUpInt = ceiling(initNum / 10) * 10 -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220705 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
Not tested. To nearest: a = (a+5) - ((a+5) mod(10)) To always round up a = (a+9) - ((a+9) mod(10)) -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:24 AM To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220706 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
10 * ceiling(number / 10) --Ben J W wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220708 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
http://www.cflib.org/udf.cfm?ID=613 20 lines of code for a 1 line mathematical equation? -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:57 To: CF-Talk Subject: Re: Rounding... On 10/11/05, J W [EMAIL PROTECTED] wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 http://www.cflib.org/udf.cfm?ID=613 Regards, Dave. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220709 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Benefits of Upgrading to MX6.1 or MX7
Thanks. Unfortunately, none of this seems to be a big benefit for the client, who pays the cost. They seem quite happy to pay for us to write the unstructured CF5 code. Any savings in development and maintenance time will quickly cover the cost of an upgrade, and more besides. Labor costs are typically the lion's share of the total cost of an application. So, that's a huge benefit for the client, if they can simply be made aware of it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220710 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Time management
I'm the whole IT dept. at the company I work for - development, networking, support, search engine optimization, etc. - and wonder what others out there in the same position use to manage their time? I've taken a couple weeks off and have been getting things here at home organized which has made me realize how UNorganized things at the office are. There are upgrades to the existing site that I want to implement but get caught up in the day-to-day grind of getting things done that are a must. Any suggestions welcome - even if it's a good ole pencil and paper! LOL TIA, Donna -- Donna French [EMAIL PROTECTED] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220711 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Search Engine Tags/Techniques?
Jake, Do you have a reason why Verity is not an option? Long story short, I'm trying to keep the functionality CF based because I need the app to be easy to use/install, as well as functional on a shared host. I'm not as familiar with Verity as I should be - can it address those two things? Jake ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220712 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
Sorry for not being clear... Yeah, for this instance I always need to round up... The ceiling approached works great. I do want to give the mod(10) code a whirl as well. Thanks for all your help guys... Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220713 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 64 bit Server Question, Help Please
I found this in the link you've provided me: Note about 64-bit support: Full 64-bit environments are not supported (64-bit JVM on 64-bit kernel/OS on 64-bit hardware). The only supported 64-bit configuration would be a 32-bit JRun environment running on a 64-bit OS / 64-bit hardware. What does it mean? If I install the 32-bit JVM on the 64-bit machine, will it work? Nope, you're out of luck. ColdFusion simply will not run on 64-bit Unix operating systems: http://www.macromedia.com/go/baec9c0c Even though it's dated 7/10/2005, JRun Updater 6, which was released at the end of August still doesn't allow for it: http://www.macromedia.com/support/documentation/en/jrun/4/releasenotes_4_upd ater6.html I believe, though unsupported, I have read about people getting it to work on 64-bit Windows though. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220714 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Best Approach?
Just a shot but see how this works. #rereplacenocase(str, (font-family:)(.*?)(;||)|\), \1arial\3, all)# It turned this font-family:verdana;font-family:arial(w1);font-family:sans-seriffont-family :sans-serif into this font-family:arial;font-family:arial;font-family:arialfont-family:arial but of course thatÂ’s not a real-world test it only works if the name of the font ends with on of these... ; ) And puts the ending char back in place except when it is a ) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:49 AM To: CF-Talk Subject: Best Approach? What is the best approach to searching a LARGE segment of text for each instance of FONT-FAMILY and changing the actual value of it to ARIAL? Here is an example of the text before it is converted: P class=MsoNormal style=MARGIN: 0in 0in 0pt 1inSPAN style=FONT-SIZE: 11pt; FONT-FAMILY: VERDANATESTING THIS OUT/SPAN Now the catch is, the font-family could be any font, but all needs to be changed to one standard font. Also there are variations of fonts such as: Arial (W1), that should be just ARIAL. Without doing a Search and Replace for each and every variation of each font (which is a nightmare to even consider), I had thought of doing a search for FONT-FAMILY then finding the end of the value by either a single quote, double quote, semi-colon or even the greater than symbol () and then replacing it that way, but it seems to be more cumbersome than it should be. Any ideas on improving that?? Thanks! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220715 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Search Engine Tags/Techniques?
You could of course set up scripts that made the installation easier as far as verity goes but you may run into problems on a shared host with it. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Jake . [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 12:05 PM To: CF-Talk Subject: Re: CF Search Engine Tags/Techniques? Jake, Do you have a reason why Verity is not an option? Long story short, I'm trying to keep the functionality CF based because I need the app to be easy to use/install, as well as functional on a shared host. I'm not as familiar with Verity as I should be - can it address those two things? Jake ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220716 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rounding...
Just tried Dave's Mod(10), it works great as well... Thanks! Jeff On 10/11/05, J W [EMAIL PROTECTED] wrote: Sorry for not being clear... Yeah, for this instance I always need to round up... The ceiling approached works great. I do want to give the mod(10) code a whirl as well. Thanks for all your help guys... Jeff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220717 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rounding...
By whole ten I assume you mean the lowest number you would ever want would be 10 meaning round up no matter what (since 31 would actually be 30 rounded to the nearest 10) Try this on... cfscript function rounditup(num) { return round(num) + (10 - right(round(num), 1)); } /cfscript #rounditup(31)# #rounditup(27)# #rounditup(155)# And even... #rounditup(1.5)# ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:24 AM To: CF-Talk Subject: Rounding... I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10. For example: 31 would equal 40 27 would equal 30 155 would equal 160 Any help would be appreciated... Thanks! Jeff -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 10/7/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220718 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: reservation system
Hello, check out http://www.calabunga.com - it's a shared calendar system that can be used in a number of different ways, including reservations and the like. /shameless plug - Original Message - From: Kristopher Pilles [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, October 10, 2005 6:09 AM Subject: RE: reservation system Hey Ray. Did you ever fond anything for this? I work with several BB's who are looking to replace an outdated ASAP system they have bene using... kp -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 5:49 PM To: CF-Talk Subject: reservation system We have a potential client that runs a medium-sized inn, and would like to have an application where they could have people reserve rooms online. the app's scope and specs are pretty much up in the air now, but I was wondering iff anyone had some recommendations of ones already written for sale/open source that they've used before. right now, they are just getting email requests to book rooms and such - which really sucks. Thanks! Ray -- = Ray Champagne - Senior Application Developer CrystalVision Web Site Design and Internet Services 603.433.9559 www.crystalvision.org = ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220719 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 64 bit Server Question, Help Please
On 10/11/05, Jorge Carlos Tejada [EMAIL PROTECTED] wrote: I found this in the link you've provided me: Note about 64-bit support: Full 64-bit environments are not supported (64-bit JVM on 64-bit kernel/OS on 64-bit hardware). The only supported 64-bit configuration would be a 32-bit JRun environment running on a 64-bit OS / 64-bit hardware. What does it mean? If I install the 32-bit JVM on the 64-bit machine, will it work? From what I've read, not on *nix systems, regardless of the versions you use. However, there have been some (Ben Forta comes to mind) who have noted that they got a 32-bit JVM working with a 32-bit ColdFusion/JRun installation in a Windows environment: http://www.forta.com/blog/index.cfm?mode=eentry=1545 Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220720 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: getting rid of spaces in file names
I ALWAYS remove spaces from file names (I actually remove anything other than letters, numbers, underscores, hyphens and periods). Normally, I just replace them with underscores or hyphens. It's just easier than worrying about them. If anyone complains, store the original name in the database along with the new renamed file name and use the original name for links and such. : ) cfset filename=my file.jpg cfset newfilename = replace(filename, , _, ALL) cffile action=rename source=/path/to/some/file/#filename# destination=/path/to/file/#newfilename# / ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:41 AM To: CF-Talk Subject: getting rid of spaces in file names Had not run been exposed to this problem before... using CFMail to send jpg files to designated recipients (and CFILE to record the file names)... if there's a space in the file name like my photo.jpg, that jpg is not sent via cmail . can someone give me a quick tip on how to deal with this issue... not sure if eliminating that space or spaces in a filename is the way to go (or how to do that) Tim ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220721 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Time management
Hello Donna, check out my shared calendar application at http://www.calabunga.com - allows you to set up and share calendars online. If you need to get a group of people to coordinate schedules it is especially helpful. - Original Message - From: Donna French [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, October 11, 2005 9:05 AM Subject: Time management I'm the whole IT dept. at the company I work for - development, networking, support, search engine optimization, etc. - and wonder what others out there in the same position use to manage their time? I've taken a couple weeks off and have been getting things here at home organized which has made me realize how UNorganized things at the office are. There are upgrades to the existing site that I want to implement but get caught up in the day-to-day grind of getting things done that are a must. Any suggestions welcome - even if it's a good ole pencil and paper! LOL TIA, Donna -- Donna French [EMAIL PROTECTED] ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220722 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: FTPS? (was RE: SFTP?)
-Original Message- From: Kevin Graeme [mailto:[EMAIL PROTECTED] Related to this, can someone point me to a comparison of the two? I understand that SFTP is SSH file transfer and FTPS is FTP with SSL, but what are the tradeoffs between them if any? FTPS is a file transport layer on top of SSL or TLS. There are number of options available with it and this can cause problems: SSL v2 or v3 or TLS, implicit connection, passive transfers, etc. In my experience it can be quite tricky to get the options all working correctly on both the server and client if you have a firewall or two in the middle, I spent quite some time this past summer trying to get a series of servers working and ultimately gave up. One of the problems that I see with FTPS is that there are several fall-back options usually available (sometimes required) which drop communications back to an unsecured channel, which defeats the purpose. SFTP is a file transport layer on top of SSH, a protocol for creating secure shell logins. It is IMHO the most secure way of doing transfers and is easiest to use from a network management point of view because it all runs on one port (#22) and there are no drop back to unsecured transfers capabilities. Whether my experiences with FTPS were actual problems or just my lack of knowledge I can't say, I just got frustrated after trying several server-client combinations and gave up in favor of SSH which was pretty much install-and-go. FYI there are both free SSH servers (OpenSSH on UNIX/Linux/BSD/MacOSX and FreeSSHd on Windows) and clients (oodles on UNIX, CoreFTP on Windows) available. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220723 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
That's cool, I didn't know regex enough to know the 0+$ means trailing 0s. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:55 AM To: CF-Talk Subject: RE: cutting: aabbcc Uew, One of these removes all zeros from the string, the other removes all zeros at the end of a string: cfset myString = aa0bbb0ccc000 cfdump var=#myString#br cfset removeTrailingZeros = ReReplace(myString,0+$,,all) cfset removeAllZeros = Replace(myString,0,,all) cfoutput#removeTrailingZeros#br#removeAllZeros#/cfoutput -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 6:25 AM To: CF-Talk Subject: cutting: aabbcc Hi list I have a value in a db-field like aabbcc and I always want to cut the leading nulls on the right to get: aabbcc, but only the four nulls, how can I do this ? There must be a regular expression for this, but I can't remember. Uwe [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220724 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: FTP Server
I take a couple of days off and come back to find a jihad is winding down... As a side note, I installed a copy of Serv-U on my first dedicated box and, within 24 hours, I was hacked, with little folders everywhere holding a text file saying I was owned by Lord So-and-So. Once I pulled my head out of my butt, I realized I had set it up to allow anonymous ftp. Fixed my config and have never had an incident since. The point being that there can be any number of causes, which perhaps have nothing to do with the subject of the effect. And it sounds like the focus here has been on versions around 2.x. Serv-U is at 6,1 now. Its miles past the era in question. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220725 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?
You could, of course, purchase them directly from datadirect, then make a custom JDBC connection in your cf admin (it's not as hard as it sounds). It won't be macromedia-ized, but it should work perfectly fine. -nathan strutz http://www.dopefly.com/ On 10/11/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Yeah, sorry that is what I meant..you have to wait until a hotfix to get em... (from DataDirect via MM) -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:13 To: CF-Talk Subject: Re: ColdFusion DataDirect JDBC drivers 3.5 ETA? On 10/11/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Macromedia will not be releasing them per say - they belong to DataDirect; Incorrect. Macromedia licenses the drivers from DataDirect and, as such, had a set of drivers (3.5+) delivered to them for a hotfix release for ColdFusion MX. They don't just take the drivers and push them through their site -- they Macromedia-ize them to make sure licensing checks and the like are performed. Stephen Dupre has been heading a small beta program to make sure the drivers are acceptable, and Macromedia *will* be releasing their Macromedia-ized version in the near future. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220726 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: FTP Server
Matt- I had the same issue one time. I allowed anonymous to do everything (except execute) and someone hacked in and created a bunch of folders that I couldn't get rid of. That was just stupidity on my part. Other than that, Serv-U FTP seems pretty good. I'd really like to be able to afford and use the more expensive versions that allow ODBC integration for access control. That would be awesome for me to be able to create accounts on the fly in a database instead of screwing with the weird text files that serv-u uses for account creation/access. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 1:06 PM To: CF-Talk Subject: Re: FTP Server I take a couple of days off and come back to find a jihad is winding down... As a side note, I installed a copy of Serv-U on my first dedicated box and, within 24 hours, I was hacked, with little folders everywhere holding a text file saying I was owned by Lord So-and-So. Once I pulled my head out of my butt, I realized I had set it up to allow anonymous ftp. Fixed my config and have never had an incident since. The point being that there can be any number of causes, which perhaps have nothing to do with the subject of the effect. And it sounds like the focus here has been on versions around 2.x. Serv-U is at 6,1 now. Its miles past the era in question. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220727 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ColdFusion DataDirect JDBC drivers 3.5 ETA?
You could, of course, purchase them directly from datadirect, then make a custom JDBC connection in your cf admin (it's not as hard as it sounds). It won't be macromedia-ized, but it should work perfectly fine. They're about $4K, though. We had one client who did that, a while back, because they couldn't wait for updated drivers from Macromedia. I thought it was a bit hasty at the time. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220729 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cutting: aabbcc0000
Yeah, the '+' means look for 1 or more, and the '$' means match at the end of the string. -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:53 AM To: CF-Talk Subject: RE: cutting: aabbcc That's cool, I didn't know regex enough to know the 0+$ means trailing 0s. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:55 AM To: CF-Talk Subject: RE: cutting: aabbcc Uew, One of these removes all zeros from the string, the other removes all zeros at the end of a string: cfset myString = aa0bbb0ccc000 cfdump var=#myString#br cfset removeTrailingZeros = ReReplace(myString,0+$,,all) cfset removeAllZeros = Replace(myString,0,,all) cfoutput#removeTrailingZeros#br#removeAllZeros#/cfoutput [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220728 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Time management
I've taken a couple weeks off and have been getting things here at home organized which has made me realize how UNorganized things at the office are. There are upgrades to the existing site that I want to implement but get caught up in the day-to-day grind of getting things done that are a must. Any suggestions welcome - even if it's a good ole pencil and paper! LOL 1) block off your time - mornings for maintenance and afternoons for development (just an example). You won't be able to stick to it 100% because people will always come running with a problem when you are busy doing something else, but you have to try real hard to tell them it will have to wait until tomorrow or this afternoon or whatever. If it can't, then it can't - but YOU should be part of that decision, not just the person asking (or else it can never wait) 2) try to make a release schedule, like only releasing code once a week (again, just an example). Resist the urge to push things onto the live server as soon as they're done, aim at batching a few updates/changes at a time. 3) invest effort into scripting every single annoying and repetitive task you have to do as part of your job. Aim for systematic solutions to problems so that next time it's just a matter of running a script. I've been in your shoes and it's not fun - if you aren't willing to sacrifice your personal life and do your real work at night when everybody else has gone home, then a modicum of hard love is in order. just my 0.02$ /t ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220730 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF Administrator and debugging IP settings
So, I'm working on a dev box here in the office, and I'd like to turn debugging on for some work I'm doing, but for various reasons, I don't want it to be on for anyone that is browsing sites. What I'd like it to do is to have debugging turned on for me only. I see that you can specify IP's, but I can't seem to get the results that I want. Shouldn't I only have to enter the IP of my machine and it will only output debugging for me? Or do I have this concept backwards or something? Ray ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220731 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Administrator and debugging IP settings
Yup, but make sure that you have the correct IP, from the windows command prompt, run IPCONFIG (just type IPCONFIG and hit enter) this'll give you the machine's current IP address. HTH sas Scott A. Stewart Cold Fusion Developer GNSI 11820 Parklawn Dr. Rockville, MD over a thousand years ago, a blue faced Pict stepped on a bloated sheep carcass, and thus.. the pipes were born - the Scottish Rogues -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 2:09 PM To: CF-Talk Subject: CF Administrator and debugging IP settings So, I'm working on a dev box here in the office, and I'd like to turn debugging on for some work I'm doing, but for various reasons, I don't want it to be on for anyone that is browsing sites. What I'd like it to do is to have debugging turned on for me only. I see that you can specify IP's, but I can't seem to get the results that I want. Shouldn't I only have to enter the IP of my machine and it will only output debugging for me? Or do I have this concept backwards or something? Ray ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220732 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Administrator and debugging IP settings
That's the way do it here. That way as we are in developing or staging Ian and I can see the debug output but nobody sees it. -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 11:09 AM To: CF-Talk Subject: CF Administrator and debugging IP settings So, I'm working on a dev box here in the office, and I'd like to turn debugging on for some work I'm doing, but for various reasons, I don't want it to be on for anyone that is browsing sites. What I'd like it to do is to have debugging turned on for me only. I see that you can specify IP's, but I can't seem to get the results that I want. Shouldn't I only have to enter the IP of my machine and it will only output debugging for me? Or do I have this concept backwards or something? Ray ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220733 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
any free Oracle IDE
I am using TOAD for Oracle, but does anyone have any Win32 applications that are free that can interface to Oracle? I have also tried jdeveloper. I was less than impressed with that. Bob Everland ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220734 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Administrator and debugging IP settings
So, I'm working on a dev box here in the office, and I'd like to turn debugging on for some work I'm doing, but for various reasons, I don't want it to be on for anyone that is browsing sites. What I'd like it to do is to have debugging turned on for me only. I see that you can specify IP's, but I can't seem to get the results that I want. Shouldn't I only have to enter the IP of my machine and it will only output debugging for me? Or do I have this concept backwards or something? Hi Ray, you are correct that you should only list the IP addresses that you WANT to see the debugging info in the CF admin. When you say you don't get desired results, does that mean you are listing your IP but clients are also seeing the debugging output? Or are there other developers on your network that are also seeing the debugging output as well? As Scott suggested, check to ensure you have your proper IP address listed in the admin. -Justin Scott | GravityFree Senior Programmer / Product Engineer 1960 Stickney Point Road, Second Floor Sarasota | FL | 34231 | 800.207.4431 941.927.7674 | f 941.923.5429 www.GravityFree.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220735 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: any free Oracle IDE
I am using TOAD for Oracle, but does anyone have any Win32 applications that are free that can interface to Oracle? I have also tried jdeveloper. I was less than impressed with that. Bob Everland I've heard good things about TORA (check sourceforge) but i've never tried it /t ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220736 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: any free Oracle IDE
On 10/11/05, Robert Everland III [EMAIL PROTECTED] wrote: I am using TOAD for Oracle, but does anyone have any Win32 applications that are free that can interface to Oracle? I have also tried jdeveloper. I was less than impressed with that. AquaData Studio from aquafold.com is a great tool. Swing on over there. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220737 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Admin Management
For those of you who build sites that require a back-end administrative area, what do you commonly use for those back-end areas? In my experience and from talking with other developers, the admin areas are one of the most tedious and repetitive development tasks we encounter. I'm wondering what your experiences have been like in this area. Are there decent tools for automating the admin-building process, or do you build them by hand each time? Any input would be appreciated. Thanks! -Justin Scott | GravityFree=20 Senior Programmer / Product Engineer 1960 Stickney Point Road, Second Floor Sarasota | FL | 34231 | 800.207.4431 941.927.7674 | f 941.923.5429 www.GravityFree.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220738 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54