RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Bobby Hartsfield
Oh absolutely... cffile... I didn't see anything about getting it while uploading though so I assumed that the files already existed. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: We

Next time somebody asks about input validation for security...

2007-11-07 Thread Jim Davis
show them this: http://xkcd.com/327/ (Most of them are good... this one just happens to appropriate.) Jim Davis ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdF

Re: Tracking down server issues MX 7

2007-11-07 Thread James Holmes
FusionReactor is a great way to get this info - you'll see what templates are running, their execution times, memory and CPU usage and more. You can even set up alerting for memory / CPU / queue length conditions to keep your servers running while you are alerted of issues. It's been essential for

Re: changing style sheets

2007-11-07 Thread Charlie Griefer
On Nov 7, 2007 3:39 PM, John P <[EMAIL PROTECTED]> wrote: > Is there a way to allow the user to change the style sheet of a page using a > link on the page? http://www.spoono.com/javascript/tutorials/tutorial.php?id=18 -- Charlie Griefer "...Al

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
I offered him 2 choices. ListFirst() and Regex. I gave examples of each. What more am I supposed to do? On Nov 7, 2007 5:39 PM, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>Regex example would be: > > Hmmm, why make it simple when regExp could make it look more > complicated? ;-) > ~

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Dale Fraser
Or Regards Dale Fraser http://learncf.com -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 November 2007 7:39 AM To: CF-Talk Subject: Re: How do I get the characters after the last period in a string? Scratch the last, use this instead: On Nov 7, 2007 3

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
I saw your mention of those variables, Charlie, and I'm definitely going that way... they seem made just for my purposes. Rick > -Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 5:04 PM > To: CF-Talk > Subject: Re: How do I get the

Re: Image Management

2007-11-07 Thread Paul Hastings
Jochem van Dieten wrote: > It may be unlikely that you ever want to find 'all images with the color > #de7f3d', but if you do your data had better be in a database with a > functional index on color(image). actually we're doing exactly that right now, searching microscopic mineral/gem imagery f

Re: Webservice over SSL

2007-11-07 Thread James Holmes
The error you get doesn't match what I expect the problem to be, which is that the CA cert for the SSL certificate needs to be in the CF Java keystore. The error looks like the ?wsdl is missing from the URL. On Nov 8, 2007 1:15 AM, Web Exp <[EMAIL PROTECTED]> wrote: > Hey guys... > i am getting an

Re: clearing Sessions on a per-site basis

2007-11-07 Thread James Holmes
Yes, if you don't mind hacking into the sessionTracker object in the service factory. This allows full access to all data in every session on the box. It's unsupported, so ymmv from version to version of CF etc. Let me know if you can't find relevant code with Google. On Nov 8, 2007 6:59 AM, Jonat

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Adam Haskell
+1 On Nov 7, 2007 5:04 PM, Charlie Griefer <[EMAIL PROTECTED]> wrote: > am i missing something here? if you're trying to get the file name > (sans extension) and extension (sas filename) -of an uploaded file-... > why not the cffile variables that i mentioned earlier (or has my prior > messag

Tracking down server issues MX 7

2007-11-07 Thread Rand Thacker
My company has a homegrown eCommerce solution, shopping cart. We run several linux CF MX7 servers behind a Cisco CSS load balancing appliance. A little setup before the question: normally, we receive on average, between 25-50 orders per hour. Every once in a while, we get these breaks in our

Re: changing style sheets

2007-11-07 Thread Dave l
doesn't "Will, Sr Advanced CFM Developer" himself have something on easycfm? > Is there a way to allow the user to change the style sheet of a page > using a link on the page? > > Thanks, > > John > > > ~| ColdFusion 8 -

RE: changing style sheets

2007-11-07 Thread Paul Vernon
> Is there a way to allow the user to change the style sheet of a page > using a link on the page? There are plenty of ways to do this. http://www.the-eyesite.org/ does this with several stylesheets by keeping the stylesheet in the session and then populating the header accordingly. Paul ~~~

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Claude Schneegans
>>Todd... what would be the regex for deleting just the last period in a filename plux the extension? If you want to be that fussy, you should also take in account files with no extension at all. Personally, I rename the file using a UUID with no extension, then analyse the file to know exactl

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Claude Schneegans
>>Regex example would be: Hmmm, why make it simple when regExp could make it look more complicated? ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

Re: Need help with the value of a Macbook

2007-11-07 Thread Dave l
mac's hold their value really well so it's hard to get a really good deal one one, actually an article on it today http://machinist.salon.com/feature/2007/11/07/mac_price/index.html?sr=hotnews off the top of my head maybe $700 - 800.. find some on ebay with same specs and see what they sell for

Re: MIME type

2007-11-07 Thread Dave l
if you were on cfm 6 you could probably check via java, if you were on 8 i think it will tell u. but since you are on pre-civil war version it would probably be harder. Quick n dirty you could grab the file and look at last 3 letters and tell and if they are ok let them through, if not error l

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Dale Fraser
Regards Dale Fraser http://learncf.com -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 November 2007 7:46 AM To: CF-Talk Subject: RE: How do I get the characters after the last period in a string? You're right... I should be using cffile for renami

clearing Sessions on a per-site basis

2007-11-07 Thread Jonathon Stierman
Is there any way to wipe out all the Sessions on a particular site running ColdFusion? My application is storing an instantiated object in the Session scope, and I've just had to make an update to that object. Trick is, I don't want anyone wandering around the site with old versions of this objec

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
Thanks, Bobby... Rick > -Original Message- > From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 2:53 PM > To: CF-Talk > Subject: RE: How do I get the characters after the last period in a string? > > Listlast(filename, '.') > to get the extenstion > >

cfimage captcha

2007-11-07 Thread Dave l
Trying out the new captcha with cfimage I cant seem to find in the docs anything about controlling bg color or font color. In this case I have a site with a black bg and so if you get a dark captcha bg and the text is kinda dark you cant see it. It's not an issue on white bg but this is UG

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Dale Fraser
Regards Dale Fraser http://learncf.com -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 November 2007 7:32 AM To: CF-Talk Subject: Re: How do I get the characters after the last period in a string? On Nov 7, 2007 1:58 PM, Rick Faircloth <[EMAIL PROTECTED]>

changing style sheets

2007-11-07 Thread John P
Is there a way to allow the user to change the style sheet of a page using a link on the page? Thanks, John ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download

RE: Image Management

2007-11-07 Thread Rick Faircloth
Good point... Rick > -Original Message- > From: Dennis Powers [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 5:25 PM > To: CF-Talk > Subject: RE: Image Management > > >> the file is being read in binary form, whether it's being read off > >> the hard disk or from binary c

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Claude Schneegans
>>Listlast(filename, '.') to get the extenstion or to get the file name if no extension... -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

RE: Image Management

2007-11-07 Thread Dennis Powers
>> the file is being read in binary form, whether it's being read off >> the hard disk or from binary code in the database, correct? Technically correct however if read off the OS's file system it is just the web server software processing the file, however if read from the DB then you have the D

Re: Wierd regex problem (isn't it always)

2007-11-07 Thread Jon Clausen
Andy, I'm not a regex ninja, like some, but I think what you're looking for is this. Escape the space character (using ^) so that any backreferences stop at the space character. Then you can use the first backreference: \1", "all") > HTH, Jon On Nov 7, 2007, at 2:03 PM, Andy Jarret

Re: Image Management

2007-11-07 Thread Dave l
You don't have to make it NASA code Rick. and i dont see any real benefits of storing the images in db, seems like a real good way to really slow down your db. If you did do it then I would at least put the db on its own server. It's kinda like sticking a really fat guy in a kids

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Claude Schneegans
>> want to return the characters in the name of a photo preceding the period. ListFirst() man, listFirst! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTE

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Charlie Griefer
am i missing something here? if you're trying to get the file name (sans extension) and extension (sas filename) -of an uploaded file-... why not the cffile variables that i mentioned earlier (or has my prior message not made it yet?) On Nov 7, 2007 11:53 AM, Bobby Hartsfield <[EMAIL PROTECTED]>

Re: Image Management

2007-11-07 Thread Claude Schneegans
>>So, I'm assuming, again, that there really should be little difference in performance regardless of how the file data is accessed. Basically correct; however, images can make a huge amount of data, and the bigger the database is, the less it's performance is. You're right that you're reading th

RE: What might this Oracle PLSQL be doing?

2007-11-07 Thread Dave Watts
> I have a .sql file that is executing four pages of code like this. > > Connect intdm/d This is connecting to the intdm user's default schema. A user's schema controls what that user can see and interact with. > Exec chem_epa2 This is running a stored procedure or package. > ... > @epa_co

Re: 2 cfforms on same page problem

2007-11-07 Thread Tony
hmmm make sure the containing is not conflicting and is outside the tag? tony On Nov 7, 2007 2:16 PM, Michael Appenzellar <[EMAIL PROTECTED]> wrote: > ColdFusion 8: I have 2 cfforms on the same page. One in not a flash > form, the other is. The flash form won't work because I have another >

Re: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-07 Thread Sam Farmer
That occurs when the user is requesting a cfc directly and the access for the method is not remote. It is strange that only one person sees this though. On Nov 7, 2007 11:18 AM, Keith, Jeremy <[EMAIL PROTECTED]> wrote: > Also the page that it's redirecting to is the CFC explorer > > CFIDE/com

Re: CFFTP list folder with leading numbers issue

2007-11-07 Thread Todd
You're 100% sure you're just doing a straight list and you're not doing any preprocessing the name? What happens when you change the folder to 2006_budgets? On Nov 7, 2007 2:23 PM, Brian Love <[EMAIL PROTECTED]> wrote: > I have been using CFFTP to successfully implement a file browser that > eas

Re: Image Management

2007-11-07 Thread Jochem van Dieten
Claude Schneegans wrote: > The purpose of a database is to store information in such a way that it > can be sorted and searched > more easily. An image file is just a bunch of binary data, there is > nothing that can be searched or sorted > in an image, except may be in the name of the file. Dep

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
Thanks, Todd! Rick > -Original Message- > From: Todd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 3:32 PM > To: CF-Talk > Subject: Re: How do I get the characters after the last period in a string? > > > > > On Nov 7, 2007 1:58 PM, Rick Faircloth <[EMAIL PROTECTED]>

Re: Verity Search Results - formatting issues

2007-11-07 Thread Raymond Camden
What I do is this: 1) Use contextHighlightBegin and contextHighlightEnd attributes to tell CF how to mark up stuff in the context. I use ___000___ and ___111___ I then remove all HTML from the context: foo = replace(foo,"<.*?>", "", "all") I then replace ___000___ with whatever HTML I want to u

Re: Verity Search Results - formatting issues

2007-11-07 Thread Andrew Peterson
>Hello, > >Now my solution is to throw a bunch of end tags at the end of the >outputted Context variable, for example >a la classic.cfm I just wanted to add this this "solution" wreaks havoc on any formatting on the remainder of the web page formatting, so I won't be able to use this solution.

Re: Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Charlie Griefer
is the field configured to accept null values? are you actually inserting a NULL or are you just not inserting anything. if you're not inserting anything, it'll default to the default value (which seems to be 1/1/1900). INSERT INTO tablename (col1, myDateCol) VALUES ('foo', NULL) or in an updat

RE: Wierd regex problem (isn't it always)

2007-11-07 Thread Bobby Hartsfield
reReplace(str, "@([a-zA-Z0-9]{1,16})", "@\1 ", "all") change 16 to the max length of your usernames. I'm just assuming you have a max length since you started to specify 1 through something but didn't finish... you just have {1,} ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acod

Weird CF8 web service wsdl generation issue and a leftfield fix

2007-11-07 Thread Paul Vernon
Having upgraded to CF8 pretty much as soon as it came out, I believe I've just run across a really obscure issue when consuming web services. We have a hr-xml based webservice that had been running fine for months on CFMX6.1. When we upgraded to CF8, everything remained fine and the service contin

Re: 2 cfforms on same page problem

2007-11-07 Thread Sam Farmer
Do the forms have different names? On Nov 7, 2007 2:16 PM, Michael Appenzellar <[EMAIL PROTECTED]> wrote: > ColdFusion 8: I have 2 cfforms on the same page. One in not a flash > form, the other is. The flash form won't work because I have another > cfform on the same page. Any thoughts on how to f

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
You're right... I should be using cffile for renaming... > -Original Message- > From: Todd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 1:58 PM > To: CF-Talk > Subject: Re: How do I get the characters after the last period in a string? > > Because CFImage isn't supposed

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
Thanks for the info, Charlie! Still working with those CF 4.5 ways. :o) Thanks for bringing this luddite up-to-speed! Rick > -Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 1:52 PM > To: CF-Talk > Subject: Re: How do I get the c

Re: Wierd regex problem (isn't it always)

2007-11-07 Thread Ben Doom
A handful of comments: Backreferencing a single, static character is silly. It just wastes memory and processor time. You're throwing it away, anyway. {1} is useless. It means "one of". Which would just be the thing by itself. Second, {1,} is more commonly written +. Also, you are saying

MIME type

2007-11-07 Thread Dave Francis
Hi, CF5.0 I have a (wrapped in a ) that is failing. Permissions are fine, so as a first step I'm assumimg it's the MIME type problem. How do I determine the actual MIME type of a file that user's are trying to upload? Thanks in advance Dave

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
On Nov 7, 2007 1:58 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > You know... a better solution than what I've got, which is > to only deal with as many as two periods in a filename, is needed. > The current solution leaves some gaps if a user decides to user several > periods as delimiters.

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Bobby Hartsfield
Listlast(filename, '.') to get the extenstion And... ListDeleteAt(filename, listlen(filename, '.'), '.') to get everything except the extension (including the dot) It doesn't matter with either method whether there is 1 dot or 40. They will work as long as there is at least 1 dot present. How

Re: Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Aaron Rouse
How are you trying? Should be as simple as SET COLNAME = NULL or using a cfqueryparam tag with its null attribute set to true. On Nov 7, 2007 12:30 PM, Jason Presley <[EMAIL PROTECTED]> wrote: > I have a table that contains two fields to indicate when a production run > is scheduled. It indicat

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
Scratch the last, use this instead: On Nov 7, 2007 3:31 PM, Todd <[EMAIL PROTECTED]> wrote: > > > > > On Nov 7, 2007 1:58 PM, Rick Faircloth < [EMAIL PROTECTED]> wrote: > > > You know... a better solution than what I've got, which is > > to only deal with as many as two periods in a filename,

Verity Search Results - formatting issues

2007-11-07 Thread Peterson, Andrew S.
Hello, I've got some verity search results from a query and am outputting the #Context# variable The context variable returns as formatted text, but however the text is formatted, if there is no corresponding end tag, such as an , the formatting carries over to the next search result. Now my s

Re: Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread J.J. Merrick
If it allows NULL then just do datefield = On 11/7/07, Jason Presley <[EMAIL PROTECTED]> wrote: > > How to i insert a null field into a ms sql 2005 date/time field? All I > get is it inserting the value 01/1/1900. > > Thanks! > > ~

2 cfforms on same page problem

2007-11-07 Thread Michael Appenzellar
ColdFusion 8: I have 2 cfforms on the same page. One in not a flash form, the other is. The flash form won't work because I have another cfform on the same page. Any thoughts on how to fix this? Michael Appenzellar Sr. Web Applications Developer

CFFTP list folder with leading numbers issue

2007-11-07 Thread Brian Love
I have been using CFFTP to successfully implement a file browser that easily enforces local file/folder permissions because the CFFTP client connects and authenticates as the user that is logged in. It was really quite simple and straightforward (thanks CF!). However... I have run into a small

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Charlie Griefer
On Nov 7, 2007 10:14 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Thanks everyone, for the help... > > Here's the final solution, if anyone's interested: > > accept="image/jpg, image/pjpg, image/jpeg, image/pjpeg, image/png" > nameconflict="makeunique"> > > > source="#rppo##file.serve

Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Jason Presley
How to i insert a null field into a ms sql 2005 date/time field? All I get is it inserting the value 01/1/1900. Thanks! ~| Check out the new features and enhancements in the latest product release - download the "What's New PD

Re: What might this Oracle PLSQL be doing?

2007-11-07 Thread Todd
Looks like 2 other-db connects with their associative kick off this stored proc along with loading a sql file and kicking off a stored proc named checkstatus(6). On Nov 7, 2007 1:37 PM, Ian Skinner <[EMAIL PROTECTED]> wrote: > I have a .sql file that is executing four pages of code like this. > >

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
^ = start of string \w = Word * probably isn't needed. This regex doesn't account for multiple "." characters, but that's not to say that you can't make it. \w will probably need changed to something else. I'm a hack at this, not an expert. :) Trying to get there. Regex cheat sheet: http://www

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Jerry Johnson
this will work for 1 or more, but will NOT work for none! (it will return an empty string) you should do a listLen(file,".") gt 0 test to make sure before you start. On Nov 7, 2007 1:21 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Jerry... > I'll modify my code to use: > #listdeleteat(file,lis

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
You know... a better solution than what I've got, which is to only deal with as many as two periods in a filename, is needed. The current solution leaves some gaps if a user decides to user several periods as delimiters. And stripping out the periods, except for the one before the extension might

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
Because CFImage isn't supposed to be used as a file system manipulation? Even functions like fileMove() doesn't even have one. Only one that I'm aware that has a nameconflict attribute is CFFile action="upload." There's a reason why we have functions like fileExists(). On Nov 7, 2007 1:14 PM, Ri

What might this Oracle PLSQL be doing?

2007-11-07 Thread Ian Skinner
I have a .sql file that is executing four pages of code like this. Connect intdm/d Exec chem_epa2 connect staging/ee exec chem_epa2_dw @epa_compare6.sql exec checkstatus(6) Can somebody put this in 'For Dummies" language for me. I think I have the general gist, but I would like to conf

Re: Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Todd
? On Nov 7, 2007 1:38 PM, Jason Presley <[EMAIL PROTECTED]> wrote: > How to i insert a null field into a ms sql 2005 date/time field? All I > get is it inserting the value 01/1/1900. > > Thanks! ~| Get involved in the latest C

Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Jason Presley
I have a table that contains two fields to indicate when a production run is scheduled. It indicates that start and end dates of the run. When a run is not scheduled I need to allow the user to simply remove the date and set the value of the field back to NULL. Every time I try this it sets t

Re: Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Janet MacKay
> How to i insert a null field into a ms sql 2005 date/time field? If you're using cfqueryparam use it's null attribute INSERT INTO TheTable (TheColumn) VALUES ( ) Or insert the keyword NULL INSERT INTO TheTable (TheColumn) VALUES ( NULL ) ~

Wierd regex problem (isn't it always)

2007-11-07 Thread Andy Jarrett
Hi I'm trying to do a look through as string to find usernames and add tags around them ala Twitter. The regex I think is fine but when I use reReplace 's back reference I'm not getting the result I thought I would of. Heres the code. Can anyone see anything obvious? Cheers, Andy #str#

OT: Need help with the value of a Macbook

2007-11-07 Thread Andy Matthews
I know many of you on this list are Mac users and so I'm asking for help. I'm looking to upgrade my computer (new workstation, and two new monitors). I'm budgeting about $1500 - $2000. A co-worker of mine said that a friend of HIS is selling a Macbook. Since I know that's an Intel machine I was cu

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
Thanks, Todd... Can you explain the '^\w' part? Rick > -Original Message- > From: Todd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 12:08 PM > To: CF-Talk > Subject: Re: How do I get the characters after the last period in a string? > > Regex example would be: > > >

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
Thanks everyone, for the help... Here's the final solution, if anyone's interested: This gives me the original image in a folder, "Original", with the original filename intact: "House.jpg". A resized 400px wide image in a folder, "popup_400", with the origi

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
Jerry... You hit upon something I thought about after I posted my solution. Yes, there definitely could be more than one period, since these are user-uploaded images. I'll modify my code to use: #listdeleteat(file,listlast(file.'.'),'.')> Now, I'm assuming that the code above will work if there'

RE: Image Management

2007-11-07 Thread Rick Faircloth
Thanks for the tip, Andrew! I'll check into it! Rick > -Original Message- > From: Andrew Grosset [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 12:47 PM > To: CF-Talk > Subject: Re: Image Management > > Stick everything in one bucket (folder) at Amazon using the Amazon S

Re: Image Management

2007-11-07 Thread Andrew Grosset
Stick everything in one bucket (folder) at Amazon using the Amazon S3 REST Wrapper CFC by Joe Danziger see: http://www.ajaxcf.com/blog/index.cfm/2006/9/7/Amazon-S3-REST-Wrapper then you could name like so: imagename_s.jpg //small imagename_m.jpg //medium imagename_L.jpg //Large imagename_E.jpg

RE: How do I get the characters after the last period in a string?

2007-11-07 Thread Jonathon Stierman
ListLast("dog.jpg",".") Jonathon -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 10:42 AM To: CF-Talk Subject: How do I get the characters after the last period in a string? This seems so simple, yet I couldn't figure out the answer

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Eric Cobb
ListFirst('dog.jpg','.') Rick Faircloth wrote: > This seems so simple, yet I couldn't figure out the answer even after > going through the list and strings functions in the docs for CF 8. > > I want to return the characters in the name of a photo preceding the > period. > > i.e.. If the photo i

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Jerry Johnson
Use the list functions, with the period as the delimiter could there be more than one period? If so, you need to decide between two options (if not, then either will work) If you only want to remove the very last extension after the last period, If you only want the content before the first on

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Web Specialist
Cheers 2007/11/7, Todd <[EMAIL PROTECTED]>: > > Plenty of things to do here. > 1.) Use regular expression. > 2.) Treat the string as a list using the "." as a delimiter (e.g.: name = listFirst(varname,'.')> ) > > On Nov 7, 2007 11:41 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > > This seem

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
Regex example would be: On Nov 7, 2007 11:57 AM, Todd <[EMAIL PROTECTED]> wrote: > > Plenty of things to do here. > 1.) Use regular expression. > 2.) Treat the string as a list using the "." as a delimiter (e.g.: name = listFirst(varname,'.')> ) ~

How do I get the characters after the last period in a string?

2007-11-07 Thread Rick Faircloth
This seems so simple, yet I couldn't figure out the answer even after going through the list and strings functions in the docs for CF 8. I want to return the characters in the name of a photo preceding the period. i.e.. If the photo is named "dog.jpg", I want to strip out ".jpg" from the filename

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Todd
Plenty of things to do here. 1.) Use regular expression. 2.) Treat the string as a list using the "." as a delimiter (e.g.: ) On Nov 7, 2007 11:41 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > This seems so simple, yet I couldn't figure out the answer even after > going through the list and st

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Barney Boisvert
listLast(myString, ".") cheers, barneyb On 11/7/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > This seems so simple, yet I couldn't figure out the answer even after > going through the list and strings functions in the docs for CF 8. > > I want to return the characters in the name of a photo pre

RE: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-07 Thread Keith, Jeremy
Also the page that it's redirecting to is the CFC explorer CFIDE/componentutils/cfcexplorer.cfc?method=getcfcinhtml&name=WebService s.ajaxCFC.core.RWGJKAjax&path=/Webservices/ajaxCFC/core/RWGJKAjax.cfc Jeremy Keith Network Administrator Rand-Whitney Group LLC One Agrand Street Worcester, MA

Webservice over SSL

2007-11-07 Thread Web Exp
Hey guys... i am getting an error message when trying to invoke a webservice's wsdl over SSL. The error is: File not found: /CFIDE/componentutils/cfcexplorer.cfc Now, if I access the url through my browser it comes up fine, although I do get a browser warning about the SSL certificate not issued

Re: Image Management

2007-11-07 Thread Terry Schmitt
More food for thought... I don't don't know what OS you are using, but you may want to limit how many files are stored in a single folder. I installed a helpdesk ticketing system on Windows that stored attachments in a single folder. The folder now contains 10's of thousands of files and is pai

RE: Image Management

2007-11-07 Thread Rick Faircloth
I would assume my understanding is correct, that the file is being read in binary form, whether it's being read off the hard disk or from binary code in the database, correct? So, I'm assuming, again, that there really should be little difference in performance regardless of how the file data is a

RE: Accessing other peoples Exchange calendar with CF8

2007-11-07 Thread Dawson, Michael
>As you seem to have covered this ground already, can the access given to the admin account be restricted to just 'read calendar' or is it all or nothing ? The way we do it, it's full access to the mailbox. I haven't tried granting access through Outlook, so I'm not sure if it will work. M!ke ~

RE: I want to put my webroot on a drive other than C...

2007-11-07 Thread Rick Faircloth
It's interesting, and a little confusing, when all I have to do to change my webroot for a site, is to specify the location in IIS. The thing that brings confusion is that last night, when I installed CF Report Builder, it asked me the location that *CF* views as my webroot. If CF doesn't see a w

RE: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-07 Thread Keith, Jeremy
I should define that this is only happening with ONE specific customer, for the others it works as designed Jeremy Keith Network Administrator Rand-Whitney Group LLC One Agrand Street Worcester, MA 01607 Office: (508) 890-7032 -Original Message- From: Keith, Jeremy [mailto:[EMAIL PROTE

Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-07 Thread Keith, Jeremy
OK, have a very strange issue that I've not seen before. We have literally thousands of customers, and I really think that this is probably a security setting on their firewall or in their IE settings, however I'll post this up anyways. We have a application with authentication that creates a ses

Re: Image Management

2007-11-07 Thread Claude Schneegans
>>all your data is stored in one location. This means if you move your app to your server, all the files go with it. 1. you can also store all your images in one location, in some images directory. if this directory is inside your site -- which is better if you want your images to be vi

RE: Image Management

2007-11-07 Thread Ryan Heldt
For what it's worth, we had a site here one time in which the developer that wrote the site never really cleaned up after himself and left images (hundreds of MBs!) all over the place, even when items associated with those images were deleted from the database. One of the solutions we developed aft

Re: Accessing other peoples Exchange calendar with CF8

2007-11-07 Thread Tom Chiverton
On Wednesday 07 Nov 2007, Dawson, Michael wrote: > Yes. When I say "mailbox", I mean the Exchange mailbox object that > contains the following folders: Inbox, Calendar, Contact, Tasks, etc. Cool. As you seem to have covered this ground already, can the access given to the admin account be restri

Re: securing non-cfm files

2007-11-07 Thread Mik Muller
Found it. http://coolfusion.com/products/iauth/ Mik At 11:26 PM 11/6/2007, Mik Muller wrote: >Yeah, I thought about that. Problem is some of the video files are massive, >and I don't want to tie up a CF process for that long. If I remember >correctly, this server app does a quick chec

RE: Image Management

2007-11-07 Thread Dan G. Switzer, II
Claude, > >>My gut reaction is that this would add overhead, a >dependency on the database, network traffic, etc. What are your thoughts? > >This sbject has been brought many times. >You're right >The purpose of a database is to store information in such a way that it >can be sorted and searched

Re: Image Management

2007-11-07 Thread Claude Schneegans
>>My gut reaction is that this would add overhead, a dependency on the database, network traffic, etc. What are your thoughts? This sbject has been brought many times. You're right The purpose of a database is to store information in such a way that it can be sorted and searched more easily. An

RE: Accessing other peoples Exchange calendar with CF8

2007-11-07 Thread Dawson, Michael
>Oh, just to be clear - 'mailbox' in this context means calendars as well, right ? Yes. When I say "mailbox", I mean the Exchange mailbox object that contains the following folders: Inbox, Calendar, Contact, Tasks, etc. >What was the CF you used, if I can ask ? Was it basically what I posted (th

Re: LiveDocs / adobe.com down

2007-11-07 Thread Larry Lyons
seems fine now. larry > I'm getting no answer for LiveDocs or the main adobe.com site from the > office, > ditto from home and someone else's home. > -- > Tom Chiverton > Helping to centrally market error-free meta-services > on: http://thefalken.livejournal.com ~

Re: LiveDocs / adobe.com down

2007-11-07 Thread gary gilbert
Yep its down for me too. Just to be sure I checked through a proxy server and had no luck there either -- Gary Gilbert http://www.garyrgilbert.com/blog ~| ColdFusion is delivering applications solutions at at top companies a

RE: Image Management

2007-11-07 Thread Rick Faircloth
Hi, Rich... No responses, huh? Too bad... I, too, am interested in the differences between storing files on a hard drive and referencing them in the db vs storing files as BLOBs. I've never used a BLOB, but would like to know if there are many/any benefits. Ultimately, it all gets stored on a h

  1   2   >