Re: Object Oriented Role Base Security

2006-10-04 Thread Robertson-Ravo, Neil (RX)
Does cflogin etc not cut the mustard? Does anyone use it? "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may

Re: Object Oriented Role Base Security

2006-10-04 Thread Mike Kear
I just wrote one.I have to say authentication with a user bean in the session scope makes many things easier - passing a neat parcel of data about the user from hither to thither is a cinch and I always have available a lot of the regularly used details about the user - the name, how many time

Sha-1 Hash UTF8

2006-10-04 Thread Juman Lop
input: 64BtLw0T027007008980450618VITA06100321424450 Output: nenwKoJMTj9W9/Xc2MBNn+iJnGg= Can Any one help me to get the output above using Coldfusion code. This is my code, but the output does not same. .

Sha-1 Hash UTF8

2006-10-04 Thread Juman Lop
input: 64BtLw0T027007008980450618VITA06100321424450 Output: nenwKoJMTj9W9/Xc2MBNn+iJnGg= Can Any one help me to get the output above using Coldfusion code. This is my code, but the output does not same. .

YahooBBAuth.CFC and working YahooPhotos.CFC available

2006-10-04 Thread Dov Katz
Here's a working demo and downloadable CFCs of the Yahoo BBAuth API. http://www.onlysimchas.com/yahoo/ Basically, this CFC lets you access your Yahoo! Photos albums via protected web service. It's easy to add the other methods into the YahooPhotos.CFC here, but I only get to play with this

RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-04 Thread Dave Watts
> I am just doing some research into this. With SQL Server 2005 > and mirroring, the mirror will automatically take over if the > primary/principle server fails. But if you the datasource > references the principle SQL Servers name, and that server > was down, how would it failover? > > The on

Re: Date Add

2006-10-04 Thread Charlie Griefer
what was it about dateAdd() that was throwing you? still have questions about its usage? On 10/4/06, Mark Leder <[EMAIL PROTECTED]> wrote: > That worked. Thanks for the quick help. > > > Thanks, > Mark > > -Original Message- > From: Matt Williams [mailto:[EMAIL PROTECTED] > Sent: Wednesd

RE: RDS CFC Explorer and Application.cfc

2006-10-04 Thread Dave Watts
> > > Does anyone know of a way to I might be able to bypass the > > > onRequest method when calling a CFC directly? > > > > You can put them into a web-accessible directory containing > > a separate Application.cfc that doesn't define onRequest. > > Thanks, Dave. Since I need access to variab

SQl Server 2005 w/ Mirroring. How does CF know when to 'failover' to the mirror?

2006-10-04 Thread blists
I am just doing some research into this. With SQL Server 2005 and mirroring, the mirror will automatically take over if the primary/principle server fails. But if you the datasource references the principle SQL Servers name, and that server was down, how would it failover? The only thing I can thi

Re: Object Oriented Role Base Security

2006-10-04 Thread Denny Valliant
Heh. The silver bullet! If you find it, holler, I too would be interested... Other than that, you can try checking out the (sheesh, I'm bad today) the MG list, as a nice discussion of this has been going down for a few days. It's more geared for MG than just anything though (although MG seems t

RE: Headers and Footers

2006-10-04 Thread Andrew Scott
Denny, I was not that favourable to any framework because it depended on the job, however after now doing a lot of dojo work I have opted to combine that with MG:U and with the abilities of coldspring, reactor and ModelGlue and dojo tied together I have got an awesome arsenal there. BTW thanks fo

RE: CFIF Statement

2006-10-04 Thread Mark Henderson
Aaron Rouse wrote: > Or maybe we need some sarcasm tags or how about a IsSarcasm UDF Ai, and the sarcasm tags seem to be working well enough in other threads. Sometimes it's more fun, as they say, to leave these things as an "exercise for the reader". Besides, a little ambiguity reveals somethin

Re: CFIF Statement

2006-10-04 Thread Denny Valliant
I'm all full up at the moment, an unambiguous and unfailing beerIs() proves more difficult than I first estimated... I'm sure I'll be done real soon now tho, and then it's ON! *cough*rightAfterCoffee*cough* On 10/4/06, Aaron Rouse <[EMAIL PROTECTED]> wrote: > Or maybe we need some sarcasm tags or

Re: Headers and Footers

2006-10-04 Thread Denny Valliant
Hey Andrew! Yeah, scary as it is, I've been developing CF "stuff" for sheesh... I don't know, a while. Maybe >8 years... yeooowch! I should be way more awesomer (I feel, but hey)! I also think there is something not quite right in my head, because I've done a lot of different stuff, instead of j

Object Oriented Role Base Security

2006-10-04 Thread Jeff Chastain
Does anybody know of an example, article, or tutorial on building an object oriented role based security system? I have gotten tired of re-inventing the wheel for each application and would like to build a modular security system that could be fairly easily dropped into any application and quickly

RE: Strange behavior?

2006-10-04 Thread Sandra Clark
Can't we all just get along I mean, Joe Rineheart (MG) and Sean Corfield (FB5) are friends and hang out at conferences and all. Can't we lowly programmers emulate these paragons of coders? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheet

RE: Date Add

2006-10-04 Thread Mark Leder
That worked. Thanks for the quick help. Thanks, Mark -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 10:08 PM To: CF-Talk Subject: Re: Date Add Then in your query: #CreateODBCDateTime(myDate)# Can also be combined to one statement:

Re: Date Add

2006-10-04 Thread Matt Williams
Then in your query: #CreateODBCDateTime(myDate)# Can also be combined to one statement: #CreateODBCDateTime(DateAdd('d',14,Now()))# On 10/4/06, Mark Leder <[EMAIL PROTECTED]> wrote: > How do I take a current date/time "#now()#" and add a number of days to it, > such as 14 days into the future,

Date Add

2006-10-04 Thread Mark Leder
How do I take a current date/time "#now()#" and add a number of days to it, such as 14 days into the future, then convert to #CreateODBCDateTime()# so I can stick in a db? Can't find anything on cflib, and I'm confused by the syntax of dateAdd()... Thanks, Mark

Re: CFIF statement in query

2006-10-04 Thread Adrian Wagner
Hi, Thanks for you patience. ;) Ben was right about my confusion (I knew it didn't feel correct but...you know). Anyhow, I've been taking up Jim's suggestion and applied the correct MSSQL (we're using version 8) syntax. It runs now, but as mentioned before, because of then WHEN statement, the wro

Re: OT cheap SSL

2006-10-04 Thread Simon Billingsgate
I had a good experience with SSL certificates from http://www.domainsandbeyond.com Easy to set up - $19.95 - no problems so far. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusi

Re: Strange behavior?

2006-10-04 Thread Denny Valliant
I think Sandra pointed out the solution to this issue just a bit ago (maybe). I'm just vaguely thinking it might be the same, that was with FB3 though, or higher, I think... yarg. BTW, Sandra, could you please stop pushing FB? I mean, I was really hoping to like, make MG the de-facto, and you're

Re: reports reports reports

2006-10-04 Thread Denny Valliant
Ok, I guess I was kidding about community. Later[1], I swear. I'd also take a look at ^JasperReports --as a personal fave, it rocks--. I'm not impartial or unbiased though, I honestly mostly just like the "feeling" I get from the community and software. It's a robust solution for many reporting

Re: RDS CFC Explorer and Application.cfc

2006-10-04 Thread Jon Clausen
Thanks, Dave. Since I need access to variables in the application scope in my model and controllers, that's not an option. I think I'm just going to forego using that method anyway, since I found a few other instances in which the way it intercepts page requests makes my life harder inst

Re: Break it down for n00bs: security problems of non-SSL intrane t?

2006-10-04 Thread Denny Valliant
On 10/4/06, Dave Watts <[EMAIL PROTECTED]> wrote: > Seriously, what's a third reason why you might attack someone else's > network? The quest for knowledge! Seriously, replace "attack" with some nicer word, and maybe you have an argument like "I was testing the lock", so to speak. Seeing as

Re: CFIF Statement

2006-10-04 Thread Aaron Rouse
Or maybe we need some sarcasm tags or how about a IsSarcasm UDF On 10/4/06, Mark Henderson <[EMAIL PROTECTED]> wrote: > > On 10/3/06, Mark Henderson wrote: > > > I could be mistaken, but hasn't that been the crux of most of this > > > debate? > > Then Aaron Rouse wrote: > > Sorry, figured it was

Re: How do I disable view source?

2006-10-04 Thread Will Tomlinson
>I have heard about it though, wouldn't it produce a medusa effect if you >looked at it :-) Dude, my apps are like a nuclear reactor! They produce some serious power, but when somethin goes wrong, it can be quite violent. Kinda like dave's bowel movements. Will

Re: How do I disable view source?

2006-10-04 Thread Larry Lyons
>Actually, I did forget, there is one method of preventing someone from >reading your html > >Try using rfc 1149 > > > >http://www.ietf.org/rfc/rfc1149.txt > > Its been done: http://www.blug.linux.no/rfc1149/ CPIP is now a reality :/ ~

Re: Subversion and Subclipse

2006-10-04 Thread Denny Valliant
On 10/4/06, Stephen Barton <[EMAIL PROTECTED]> wrote: > Thanks Den for pointing me in the right direction. I took a look at: > > http://svnbook.red-bean.com/en/1.2/svn.advanced.reposurls.html Any time, glad it helped! Thanks for posting the URL. Anyone using SVN would be well served by read

Re: How to get file sizes dynamically?

2006-10-04 Thread Aaron Roberson
Thank you very much, that is a pretty nifty udf. -Aaron On 10/4/06, Coldfusion <[EMAIL PROTECTED]> wrote: > CFLib.org is your friend: > http://www.cflib.org/udf.cfm?id=787 > > -Original Message- > From: Aaron Roberson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 04, 2006 8:12 PM >

Re: How to get file sizes dynamically?

2006-10-04 Thread Crow T. Robot
It should be mentioned that there is a function on cflib.org that will calculate the proper file size (ie, MB,GB,K) for you, to make display oh-so-purdy. I don't have the exact name or link, but a quick search at the site should bring it up. On 10/4/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: >

RE: How to get file sizes dynamically?

2006-10-04 Thread Andrew Scott
So is NumberFormat() Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: Coldfusion [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 October 2006 10:15 AM To: CF-Talk Subject: RE: How to get file sizes dynam

Re: How to get file sizes dynamically?

2006-10-04 Thread Jerry Johnson
a mostly language-independent way: On 10/4/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > I should have known that I was going to have to do some math on the > file size returned by cfdirectory... > > I have this: > > Which gives me 8.26320075989 > > How do I round that number to just 8.26? > >

RE: How do I disable view source?

2006-10-04 Thread Snake
I have heard about it though, wouldn't it produce a medusa effect if you looked at it :-) -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: 04 October 2006 23:57 To: CF-Talk Subject: Re: How do I disable view source? you've obviously never seen Will's code... :)

RE: How to get file sizes dynamically?

2006-10-04 Thread Coldfusion
CFLib.org is your friend: http://www.cflib.org/udf.cfm?id=787 -Original Message- From: Aaron Roberson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 8:12 PM To: CF-Talk Subject: Re: How to get file sizes dynamically? I should have known that I was going to have to do some m

Re: Follow-up re: Quicky question re: cfdocument and fonts

2006-10-04 Thread Lawrence B. Afrin, M.D.
Christine -- Alright, you've told me twice now, I'll take a hint :-) and upgrade my server. Thanks! -- LBA ("Larry," please -- not even my mother calls me "Lawrence") P.S. Um, as long as I'm doing a good "stupid" impression in public, I might as well also ask: where do I find "the TTF sfile"

Re: How to get file sizes dynamically?

2006-10-04 Thread Aaron Roberson
Nevermind the last post. I figured it out, It's the decimalformat() function. Thanks again all! On 10/4/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > I should have known that I was going to have to do some math on the > file size returned by cfdirectory... > > I have this: > > Which gives me 8

Re: How to get file sizes dynamically?

2006-10-04 Thread Aaron Roberson
I should have known that I was going to have to do some math on the file size returned by cfdirectory... I have this: Which gives me 8.26320075989 How do I round that number to just 8.26? -Aaron On 10/4/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > Thanks everyone. Believe it or not, all of

Re: How do I disable view source?

2006-10-04 Thread Alan Rother
Actually, I did forget, there is one method of preventing someone from reading your html Try using rfc 1149 http://www.ietf.org/rfc/rfc1149.txt -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer ~| Introduci

Example of what can be done with CF & Ajax

2006-10-04 Thread Rey Bango
I hope I'm not posting on the wrong list but I wanted to show what can be done with CF & Ajax. The link below will take you to a cool site called Joe's Log Book. It helps you log important day-to-day tasks in an online log book. http://joeslogbook.com/ While its not a huge app, this site is ba

RE: Headers and Footers

2006-10-04 Thread Andrew Scott
Denny, As a developer who has been developing coldfusion applications now for 11 years, let me say this. Although the onRequestStart and onRequestEnd in Application.cfc is a good method for very lazy programmers, or if you're header and footer information never changes, but consider this. Custom

Re: How to get file sizes dynamically?

2006-10-04 Thread Aaron Roberson
Thanks everyone. Believe it or not, all of that explaining was necessary. I didn't realize cffile read the file into memory and the rest. -Aaron On 10/4/06, Ray Champagne <[EMAIL PROTECTED]> wrote: > Oh yea. Duh. Disregard my post. :) > > > -Original Message- > > From: Jerry Johnson [m

Re: How do I disable view source?

2006-10-04 Thread Casey Dougall
> > On 10/4/06, Snake <[EMAIL PROTECTED]> wrote: > > I can assure you that there is nothing in your source that hasn't already > > been seen/done 1000's of times before. > > > > -- I think this is the problem. He's using cfhttp and hijacking some code from a competitors site and then just swapping

Re: How to get file sizes dynamically?

2006-10-04 Thread Jerry Johnson
I would bet only one of us learned this through personal experience. =) My xServe in the corner still gives me dirty looks. On 10/4/06, Ray Champagne <[EMAIL PROTECTED]> wrote: > Oh yea. Duh. Disregard my post. :) ~| Introdu

Re: How do I disable view source?

2006-10-04 Thread Alan Rother
The short answer to this question is, you can't stop someone from seeing your code. You can do all sorts of tricks to make it a pain in the a** to see the source, but for those of us who have been doing this awhile, there is nothing you can do to prevent us from seeing the rendered html that is re

RE: Headers and Footers

2006-10-04 Thread Sandra Clark
As does Fusebox with Content Variables. Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Denny Valliant Sent: Wednesday, October 04, 2006 6:26 PM To: CF-Talk Yeah, ModelGlue takes care of t

Strange behavior?

2006-10-04 Thread Doug Brown
I am using FB2 in my app, yeah I know I am way behind. Anyhow, I using the sesconverter tag and it is screwing with my stylesheet and image links. IE: http://localhost/site/_images/top_menu.gif Becomes http://localhost/site/index.cfm/fuseaction/sub_cats/cat_id/_images/top_menu.gif Any ideas

RE: How do I disable view source?

2006-10-04 Thread Bobby Hartsfield
and Charlie slips in for the kill! lol -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 6:57 PM To: CF-Talk Subject: Re: How do I disable view source? you've obviously never seen Will's code... :) On 10/4/06, Snake <[EMAIL PROTECTE

RE: How to get file sizes dynamically?

2006-10-04 Thread Ray Champagne
Oh yea. Duh. Disregard my post. :) > -Original Message- > From: Jerry Johnson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 04, 2006 6:40 PM > To: CF-Talk > Subject: Re: How to get file sizes dynamically? > > cffile will read the entire file into a memory variable. which with an

RE: Don't display IF

2006-10-04 Thread Doug Bezona
Well, perhaps posting the actual code causing the error might help if you want accurate troubleshooting. -Original Message- From: "Bobby Hartsfield" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: 10/4/06 4:25 PM Subject: RE: Don't display IF I don’t think he is actually using 'group' as a ta

Re: How do I disable view source?

2006-10-04 Thread Charlie Griefer
you've obviously never seen Will's code... :) On 10/4/06, Snake <[EMAIL PROTECTED]> wrote: > LOL, that's like me asking how do I stop people seeing my tattoos... > > If you don't want someone to see it, don't put it in public view. > The internet is public. > I can assure you that there is nothing

RE: How to get file sizes dynamically?

2006-10-04 Thread Ray Champagne
If you have them all stored in 1 (or a few) directories, it makes much more sense to use cfdirectory. You only have to run it once (or a few times) to get all the info you needed. > -Original Message- > From: Aaron Roberson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 04, 2006 6:2

Re: verity spider

2006-10-04 Thread George Lu
Thank you Gareth. I prefer to use vspider since cfindex will index all docs linked or not linked. I want user to be able just search and see everything just http linked or generated html page NOT the source code. On 04/10/06, Gareth Hughes <[EMAIL PROTECTED]> wrote: > > From the verity people: > -

RE: CFIF Statement

2006-10-04 Thread Mark Henderson
On 10/3/06, Mark Henderson wrote: > > I could be mistaken, but hasn't that been the crux of most of this > > debate? Then Aaron Rouse wrote: > Sorry, figured it was obvious that I was just beating a dead > horse and being sarcastic Ditto (hence the 1 liner). I guess my communication skills ne

Re: How do I disable view source?

2006-10-04 Thread Denny Valliant
Heh. Just do what the Broadcasting companies do. Maybe you could add something like: YOUR BROWSER USED THE ONE LEGAL LOOK YOU HAD Man, the FCC won't let me be / or let me be me. something. something. On 10/4/06, Will Tomlinson <[EMAIL PROTECTED]> wrote: > Hey, > > Now I'm tryin' to disable the vi

RE: Follow-up re: Quicky question re: cfdocument and fonts

2006-10-04 Thread Christine Davis
Lawrence, 7.0.1 and 7.0.2 fix a number of issues related to CFDocument. 1. ID 60865 PDF files created with the cfdocument tag may not render content with the specified fonts. To avoid this issue, install the TTF sfile for the font you want to use. In addition, on OS X, if the content contains any

Re: How to get file sizes dynamically?

2006-10-04 Thread Charlie Griefer
(as has been mentioned). it will return a query object (same as ) that will have all of the info you want. file name, file size, etc. just do the with the appropriate attributes. dump it () and you'll see what's available. On 10/4/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > I was doing a

RE: How do I disable view source?

2006-10-04 Thread Snake
LOL, that's like me asking how do I stop people seeing my tattoos... If you don't want someone to see it, don't put it in public view. The internet is public. I can assure you that there is nothing in your source that hasn't already been seen/done 1000's of times before. -- Snake ~

Re: How to get file sizes dynamically?

2006-10-04 Thread Jerry Johnson
cffile will read the entire file into a memory variable. which with an mp3 file will bring your server to its knees. cfdirectory will just get a list of files, and some of the files properties (size, type, datelastmodified, name). Definitely use cfdirectory. On 10/4/06, Aaron Roberson <[EMAIL P

RE: How to get file sizes dynamically?

2006-10-04 Thread Matt Quackenbush
That will give you the length in characters of the file. Unless I misunderstood what you were trying to do, you want to use the solutions that have been posted. The LiveDocs will provide you with all of the details that you need. :-) -Original Message- From: Aaron Roberson [mailto:[E

Re: Headers and Footers

2006-10-04 Thread Denny Valliant
On 10/3/06, Teddy Payne <[EMAIL PROTECTED]> wrote: > If you use Application.cfc, you can use the onRequest method to intercept > your page loads. I've used onRequestStart and onRequestEnd to add headers and footers, works quite well aside from the fact that you then need a variable when you don't

Re: How to get file sizes dynamically?

2006-10-04 Thread Aaron Roberson
I was doing a search through cfQuickDocs and found Should I use or ? In a search I did on cffile I somebody suggested the following: File Size: #Len(MyFile)# Thanks again, Aaron On 10/4/06, Matt Quackenbush <[EMAIL PROTECTED]> wrote: > will return a query containing all the info you > want

Re: How to get file sizes dynamically?

2006-10-04 Thread Jerry Johnson
you can use the cfdirectory tag to get a query of all of the files in a folder. you can use the filter attribute to limit it to *.mp3 files. The size field in the returned query will give you the size in Bytes. The name field in the returned query will gove you the filename. If you need to get mo

RE: Integrating SQL Reporting Services with ColdFusion

2006-10-04 Thread Brad Wood
Also along these lines... I just picked up and starting reading the October 2006 issue of SQL Server Magazine from my DBA's desk. It has an entire article on integrating MS SQL Server Reporting Services into a web application. (Page 27) It's pretty high-level so far, but might prove helpful. ~Br

Re: CFIF statement in query

2006-10-04 Thread Ali Awan
I would recommend Jim's suggestion, with a slight modification. Since he wanted ucDescription contains "Graduate Certificate", I think in SQL Server that would be "LIKE" Anyway try this. SELECT ucDescription, ucTitle, CASE WHEN ucDescription LIKE '%Graduate Certificate%' THEN 1 ELSE 2 END AS seq

RE: Faulting application jrun.exe error

2006-10-04 Thread Brad Wood
You might have a bad stick of RAM. You could try pulling out the new RAM, and seeing if the problem goes away as a test. ~Brad -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 5:15 PM To: CF-Talk Subject: Faulting application jrun.exe error I

RE: Integrating SQL Reporting Services with ColdFusion

2006-10-04 Thread Christine Davis
Mike, I'm digging way back in my brain to a demo we saw last year using SSRS but I believe they expose all the SSRS functionality through a web services API. You could write your own interface using the Web Services provided... Can you keep me updated as to how your project goes, we might be movi

Faulting application jrun.exe error

2006-10-04 Thread Tim Do
I have been getting this error for the past 3 days. It'll only come up after a reboot. Can anybody tell me what is going on?! The only thing that I can think of that has changed is I added more memory to the server. Faulting application jrun.exe, version 4.0.3.19147, faulting module jvm.dll, ve

RE: How to get file sizes dynamically?

2006-10-04 Thread Matt Quackenbush
will return a query containing all the info you want. -Original Message- From: Aaron Roberson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 5:08 PM To: CF-Talk Subject: How to get file sizes dynamically? I have a list of mp3 files that I am making available for download

RE: How to get file sizes dynamically?

2006-10-04 Thread Ben Nadel
Gotta run, so need to keep it short, but you can call a CFDirectory on that file: This will return a cFdirectory query in which qFileSize.size will have the name of the file (Check for qFileSize.REcordCount first just to be sure or wrap in Val()). The FILTER attribute makes sure it doesn't lis

Follow-up re: Quicky question re: cfdocument and fonts

2006-10-04 Thread Lawrence B. Afrin, M.D.
Chris, Christine, Sandra, and everyone else -- A bit of a mea culpa here, with some progress but some persistent problems... Thanks again for your previous efforts to help me with my problem making font adjustments in PDFs produced with cfdocument in CFMX 7.0 (Linux). I discovered a typo in my

RE: How to get file sizes dynamically?

2006-10-04 Thread Ian Skinner
should provide you with that information. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This mess

How to get file sizes dynamically?

2006-10-04 Thread Aaron Roberson
I have a list of mp3 files that I am making available for download on my website and would like to indicate what the file size of each mp3 is. How can I do this programmaticly? Thanks for the help! Aaron ~| Introducing the Fusio

Re: cfinvoke throwing jsp compiler error

2006-10-04 Thread Dan Plesse
Wow that's not even a valid url. you need a dot plus cfc myCFC.cfc?wsdl On 10/4/06, Les Mizzell <[EMAIL PROTECTED]> wrote: > > Tested locally this works great: > > http://www.myURL.com/components/myCFC?wsdl"; > method="getEMPLOYEES" > returnvariable="getSTAFF" > > > When put

RE: is cfflush above?

2006-10-04 Thread Ian Skinner
I believe some of the first code did exactly what you are looking for. tags can not be used, and I believe will throw an error if they are called after a Because the header has already been sent (flushed) to the client and can not be modified for the given request. Putting the tag in a b

Re: is cfflush above?

2006-10-04 Thread Eduard Tabara
to Ben: sorry, seems like i am a bit slow at past midnight. i got what you did mean there and it does work. Thank's a lot! Ed. --- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: > > Just wrap it a UDF that returns a boolean > > > > > . > > > > > > .. > Ben Nadel

RE: is cfflush above?

2006-10-04 Thread Ben Nadel
NO worries dude, does this help: http://bennadel.com/index.cfm?dax=blog:317.view .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Eduard Tabara [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 5:14 PM To: C

Re: is cfflush above?

2006-10-04 Thread Eduard Tabara
sorry, maybe my english is not good enough and i don't get understood well... the question is: how that IsFlushInitiated() will find out if there was used the cfflush tag or not? as i said, the "above" code may be any code. so, setting a special variable with each cfflush call or any other operatio

RE: RDS CFC Explorer and Application.cfc

2006-10-04 Thread Dave Watts
> As soon as I implemented the onRequest() method in > Application.cfc, RDS stopped CFC redirects to the CFC > Explorer and simply treats outputs a blank page. Does anyone > know of a way to I might be able to bypass the onRequest > method when calling a CFC directly? You can put them into

Re: Parsing a ics or vcs file

2006-10-04 Thread Eric Haskins
Reg Ex is your friend REfindNoCase or REFind If you have a sample file you can send I will help with the Regex's -- ~Eric Web Systems Developer Rooms To Go ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard

RE: onError Application.cfc function

2006-10-04 Thread Dave Watts
> For anybody who uses this, how did you incorporate it into > any comprehensive error handling strategy? How did you > change, if you did, your use of server wide error handling, > and/or options? It has largely replaced my use of CFERROR in new projects. Everything else is about the same.

RE: is cfflush above?

2006-10-04 Thread Ben Nadel
Just wrap it a UDF that returns a boolean . .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Eduard Tabara [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 4:47 PM To: CF-Talk Subject: Re: is cffl

Re: is cfflush above?

2006-10-04 Thread Eduard Tabara
yeah, setting a request variable will help.. i thought about that too. but the idea was to find out if there was a cfflush in the code above without to have a need to set any specific variables. i am looking more into something like getting in a variable all the "above" code (let's say so: ANY "abo

RDS CFC Explorer and Application.cfc

2006-10-04 Thread Jon Clausen
As soon as I implemented the onRequest() method in Application.cfc, RDS stopped CFC redirects to the CFC Explorer and simply treats outputs a blank page. Does anyone know of a way to I might be able to bypass the onRequest method when calling a CFC directly? I know I can dump the object

RE: Don't display IF

2006-10-04 Thread Bobby Hartsfield
I don’t think he is actually using 'group' as a table name or column name. I used it in pseudo code to be more or less descriptive of the table I was talking about. -Original Message- From: Doug Bezona [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 3:53 PM To: CF-Talk Subject

RE: Don't display IF

2006-10-04 Thread Bobby Hartsfield
You figured that but didn’t realize that you would need to adjust the code and queries to fit your data source and needs? My mistake, I thought you needed help. -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 3:40 PM To: CF-Talk Subject:

RE: Don't display IF

2006-10-04 Thread Doug Bezona
I've run into this exact issue before - group is a reserved word in Access (well, in most DBMS really, some just handle it better in this context), so it gets cranky when you use it as a table name. As I recall, you can get around it by putting the table name in square brackets - so try FROM [group

RE: Don't display IF

2006-10-04 Thread Ian Skinner
FROM [group] or is it FROM ["group"] I suspect Access is complaining that group is a reserved word, ya know GROUP BY. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code ru

RE: Don't display IF

2006-10-04 Thread Steve LaBadie
Yes Bob, I kind of figured that. But I am getting a VENDORERRORCODE 3506 Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause. The error occurred in F:\inetpub\wwwroot\aboutesu\welcome_ctr\loca

Re: My own personal theDailyWTF

2006-10-04 Thread Cutter (CFRelated)
Yeah, and it's not even scoped... Cutter Doug Bezona wrote: > I like that you even commented it. In fact, it's an object lesson in how > NOT to comment code, since it's stating the obvious that you are > creating a blank variable, instead of the not so obvious WHY you are > creating the blank var

Re: Parsing a ics or vcs file

2006-10-04 Thread Karen Clark
> I need to allow the user to upload a ics or a vcs file so I can parse > it for the appointment information and insert the data a table. > > I can see the file but right now I am getting the whole thing in a > string and I am having problems getting the data I need. IE date and > time,locatio

Re: My own personal theDailyWTF

2006-10-04 Thread Jake Churchill
I debugged a function in actionscript yesterday for about an hour and a half before I realized I forgot to call it. Peterson, Chris wrote: > OK, I find this little gem in a program I wrote a few months ago. > > > > > > > I am trying to dream up reasons I did it... no luck so far. > > Chris

RE: My own personal theDailyWTF

2006-10-04 Thread Doug Bezona
I like that you even commented it. In fact, it's an object lesson in how NOT to comment code, since it's stating the obvious that you are creating a blank variable, instead of the not so obvious WHY you are creating the blank variable. > -Original Message- > From: Peterson, Chris [mailto

parsing a vcs or ics file

2006-10-04 Thread Karen Clark
the user uploads a vcs or ics file from their outlook appointments. I need to then parse that file and insert the information about the appointment. Right now I am using a cfhttp tag to read in the file but it is giving it to me all in one string. Any help is appreciated. ~~~

RE: My own personal theDailyWTF

2006-10-04 Thread Andy Matthews
Maybe so you could say: ?> -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 2:10 PM To: CF-Talk Subject: My own personal theDailyWTF OK, I find this little gem in a program I wrote a few months ago. I am trying to dream u

Parsing a ics or vcs file

2006-10-04 Thread Karen Clark
I need to allow the user to upload a ics or a vcs file so I can parse it for the appointment information and insert the data a table. I can see the file but right now I am getting the whole thing in a string and I am having problems getting the data I need. IE date and time,location, etc ~

Re: Subversion and Subclipse

2006-10-04 Thread Stephen Barton
> On 10/4/06, Stephen Barton <[EMAIL PROTECTED]> wrote: > > ... > > Error validating location: "org.tigris.subversion.javahl. > ClientException: Network connection closed unexpectedly svn: > Connection Closed Unexpectedly" > > after a long wait. > > Sounds like svnserve wasn't running. Generally

Re: FlashPaper vs PDF

2006-10-04 Thread John Dowdell
RichL wrote: > I've got to provide a downloadable and printable form to fill in. > I am wondering which route to go down between flashpaper and pdf. > Is there any generally accepted preference about at the moment? Macromedia FlashPaper was a printer driver which could turn documents (including P

onError Applicatio.cfc function

2006-10-04 Thread Ian Skinner
For anybody who uses this, how did you incorporate it into any comprehensive error handling strategy? How did you change, if you did, your use of server wide error handling, and/or options? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -

RE: How do I disable view source?

2006-10-04 Thread Michael E. Carluen
I should've said is an illusion and a the solution. Which still begs the question, "why would anyone like to disable the view source", unless of course there's something to hide. Not to single out Will's post, but don't you find yourself asking "why would you want to do that?" on other posts as w

  1   2   3   >