Re: Installing CF9 on Windows 7 64 bit

2010-11-06 Thread Dave Watts
> The CF9 installers fails because it can't find the MDAC 2.6 or higher.  But, > that object is now integrated into the OS directly.  So, > it is available. > > Has anyone worked around this during the install of CF9? I've installed CF 9 on Windows 7 64-bit several times, and have never run into

Re: Formatting the output of a text datatype

2010-11-06 Thread Monique Boea
Thanks terry. Good tip. I never thought to use the fckeditor. On Sat, Nov 6, 2010 at 12:58 PM, Terry Troxel wrote: > > You just might try Fckeditor for your text datatype entries > as it has Paste from word which strips all the various MS formatting. > You can modify the menubar to only includ

Re: CF (8.0.0) performance vs PHP (5)

2010-11-06 Thread Larry Lyons
>+1,000,000 for Jame's theory about string concatenation. CF is very >inefficient at this. Doesn't amtter much for small stuff and a few >repeats, but for bulk, a Java buffer is the way to go. > >Dave > > String concatenation is quite slow in CF. This blog did some fairly simple tests and found

Re: Formatting the output of a text datatype

2010-11-06 Thread Larry Lyons
Look at the DeMoronize function on CF-Lib.org It does a pretty good job of removing most Word related crud. http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=725 Also you can use the replace function to replace the windows carriage returns and line feeds with a However it may be easier

Installing CF9 on Windows 7 64 bit

2010-11-06 Thread Danny Czaja
The CF9 installers fails because it can't find the MDAC 2.6 or higher. But, that object is now integrated into the OS directly. So, it is available. Has anyone worked around this during the install of CF9? ~| Order the Ado

Re: Closing Browser expires session/cookie

2010-11-06 Thread Tony Bentley
Okay, so I think you hit it Dave. I just need to shorten the session to 15 or 20 minutes. The system already requires a login when the user closes the browser so why not just shorten the timeout? I've already have the user sessions stored in a cookie so I was close, but didn't think about why t

Re: Closing Browser expires session/cookie

2010-11-06 Thread Michael Grant
:D On Sat, Nov 6, 2010 at 1:24 PM, denstar wrote: > > Naw, if I meant it like that I'd be all like, "[lmgtfy] FOAD!" vs. > "[lmgtfy] HAND!". :) > > I'm down with Bentley, yo! > > So there! =) > > :Den > > -- > Freedom is a system based on courage. > Charles Peguy > > > On Sat, Nov 6, 2010 at

Re: Closing Browser expires session/cookie

2010-11-06 Thread Dave Watts
> Yeah but their session expires a couple of hours after they close the > browser. So I could expire the session at a shorter timespan but if I can do > it when the browser closes, that would be better. The default session timeout is twenty minutes, I think. You should probably set the session ti

Re: Formatting the output of a text datatype

2010-11-06 Thread denstar
On Sat, Nov 6, 2010 at 11:00 AM, Russ Michaels wrote: > > You can also find useful functions on cflib.org for formatting and remove > word crap. > Htmltidy may also help you, this is not a cfml tag though so use google. > Totally! cflib.org roxors. You can probably find something that sanitizes

Re: Closing Browser expires session/cookie

2010-11-06 Thread denstar
Naw, if I meant it like that I'd be all like, "[lmgtfy] FOAD!" vs. "[lmgtfy] HAND!". :) I'm down with Bentley, yo! So there! =) :Den -- Freedom is a system based on courage. Charles Peguy On Sat, Nov 6, 2010 at 6:32 AM, Michael Grant wrote: > > OT: > lmgtfy.com = "what did the five finger

RE: Formatting the output of a text datatype

2010-11-06 Thread Russ Michaels
You can also find useful functions on cflib.org for formatting and remove word crap. Htmltidy may also help you, this is not a cfml tag though so use google. Russ -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: 06 November 2010 16:58 To: cf-talk Subject: RE:

RE: Formatting the output of a text datatype

2010-11-06 Thread Terry Troxel
You just might try Fckeditor for your text datatype entries as it has Paste from word which strips all the various MS formatting. You can modify the menubar to only include the Controls that are needed. Terry -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Sa

Re: Formatting the output of a text datatype

2010-11-06 Thread Monique Boea
Ok thanks! - Original Message - From: Michael Grant To: cf-talk Sent: Saturday, November 06, 2010 10:16 AM Subject: Re: Formatting the output of a text datatype For display you could try which should preserve your line breaks at least. It's been a while since I've used

Re: Formatting the output of a text datatype

2010-11-06 Thread Michael Grant
Here's a few links, they are php but the regex is what's important. http://php.bigresource.com/replace-non-ascii-characters-SDKRspXA.html#KKysUyTO http://www.wessray.com/php/strip-and-remove-non-ascii-characters-using-php-regular-expressions/

Re: Formatting the output of a text datatype

2010-11-06 Thread Michael Grant
For display you could try which should preserve your line breaks at least. It's been a while since I've used it so I'm unsure of it's limitations. You could also try replacing chr(10) & chr(13) with to create html line breaks. As far as the strange characters it's probably the weird open and clo

RE: Getting rid of maliceous code embedded in a jpg

2010-11-06 Thread Eric Roberts
I am not sure how cffile or cfimage handles it, but I do know that if you pass a file to some of the Java classes and it's not a legit image file, it will let you know. You can also write a cfc into this that can check file types to limit what file types get past and that will reduce the amount o

Formatting the output of a text datatype

2010-11-06 Thread Monique Boea
hello I am working on a app where users input their resumes. I am using a TEXT datatype for some of my fields for large areas of text i.e. Career Summary. The problem is when I output the text, there is not formatting to it and it looks like a large jumbled block of text. Some of the user cu

Re: Closing Browser expires session/cookie

2010-11-06 Thread Michael Grant
OT: lmgtfy.com = "what did the five fingers say to the face?" On Sat, Nov 6, 2010 at 12:42 AM, denstar wrote: > > On Fri, Nov 5, 2010 at 5:26 PM, Tony Bentley wrote: > > > > So I have an app that uses cflogin, which works great if the user logs in > and out from the same browser. Now here is w

RE: Getting rid of maliceous code embedded in a jpg

2010-11-06 Thread Terry Troxel
Really, thanks for the reply, but the jhove site is way over my head. Maybe someone will have a simpler answer. Terry -Original Message- From: denstar [mailto:valliants...@gmail.com] Sent: Friday, November 05, 2010 9:59 PM To: cf-talk Subject: Re: Getting rid of maliceous code embedded i