RE: Access linked tables on UNIX?
Can you use an Access .mdb file on any non windows OS? I thought you couldn't -- you would be dependent on the Microsoft Jet database, which is Windows only. -- Hugo Ahlenius - Hugo AhleniusE-Mail: [EMAIL PROTECTED] Project Officer Phone:+46 8 230460 UNEP GRID-ArendalFax:+46 8 230441 Stockholm OfficeMobile:+46 733 467111 WWW: http://www.grida.no - | -Original Message- | From: Damien McKenna [mailto:[EMAIL PROTECTED] | Sent: Friday, July 09, 2004 23:14 | To: CF-Talk | Subject: OT: Access linked tables on UNIX? | | Has anyone tried using Access files on UNIXes (Linux, | FreeBSD, yadda) that had linked tables, and if so did they still work? | -- | Damien McKenna - Web Developer - [EMAIL PROTECTED] | The Limu Company - http://www.thelimucompany.com/ - | 407-804-1014 Nothing endures but change. - Heraclitus | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
Sean, Your comments infer that missused grammer bothers you. I think its just the affect of perhaps a couple beers? But of course thats a mute point - excetra. :) On Mon, 12 Jul 2004 21:59:25 -0700, Sean Corfield [EMAIL PROTECTED] wrote: But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Application Error in Event Viewer
What jvm are you running? -- Hugo Ahlenius - Hugo AhleniusE-Mail: [EMAIL PROTECTED] Project Officer Phone:+46 8 230460 UNEP GRID-ArendalFax:+46 8 230441 Stockholm OfficeMobile:+46 733 467111 WWW: http://www.grida.no - | -Original Message- | From: Jim Curran [mailto:[EMAIL PROTECTED] | Sent: Friday, July 09, 2004 17:24 | To: CF-Talk | Subject: Application Error in Event Viewer | | Hey all, | | Faulting application jrun.exe, version 4.0.0.63824, faulting | module jvm.dll, version 0.0.0.0, fault address 0x0003cfd4. | | I see this error about once every two weeks.I never, and | neither has any of my clients (i'm running approx 80 websites | on my server), have noticed this affect anything on the box. | I assume jrun just restarts and continues on its merry way. | | The memory sits at approx 400 MB and i have a gb of mem.The | sql server is a separate box, so all this machine is doing is | serving CF pages | | Should i just count my blessings that this is the *only* | issue i experience on this box? | | - j | | james curran | technical director | nylon technology |mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] | 212-691-1134 | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFMX is crashing daily with no hints in the log
It seems like there is a recognised bug in Jrun, see this forum thread (including possible workarounds) http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid= 69threadid=806965forumid=2 (tiny url of the same http://tinyurl.com/5y2rt ) -- Hugo Ahlenius - Hugo AhleniusE-Mail: [EMAIL PROTECTED] Project Officer Phone:+46 8 230460 UNEP GRID-ArendalFax:+46 8 230441 Stockholm OfficeMobile:+46 733 467111 WWW: http://www.grida.no - | -Original Message- | From: Brook Davies [mailto:[EMAIL PROTECTED] | Sent: Monday, July 12, 2004 23:15 | To: CF-Talk | Subject: Re: CFMX is crashing daily with no hints in the log | | Hmmm, | | Well, I have some requests (like data imports of 50,000 + | records) and some long string parsing routines, so I think | setting it down to 2 or 3 would not be appropriate as alot of | requests might queu up in that time. I have it set at 20 on a | dual Xeon 1.8w/ 3 gigs of ram. | | I could try lowering it and see if that helps I guess. 10 | requests would be fine, as the server is never really over | that anyways. And its usually under 3, but as I explained | there are those occasions where 3 would not be enough | considering some of the longer requests that are possible. | | Bryan wrote: | When a simple parsing error occurs (let's say code like this | with a missing end bracket cfset MyVar = Hello World). | Just that missing causes JRun to start eating memory | until the server grinds to a halt!!I would tend to think an | error should be thrown right off the bat...but nope...that | comes about 5 minutes later when all the memory is gone...nice huh ;-) | | Really?Wow, I have never seen or heard of that? That must | kill in a shared hosting environment. Actually, my friend who | runs an ISP says he's going to stop doing CF hosting because | they can't keep CF up. I can understand that in a shared | hosting environment, but on a single site on a single server, | I should be able to keep it stable I think. | | I checked Macromedia's site and actually, I do not have a | bunch of the latest hot fixes installed. So I'm gonna run | through that tonightand get that rectified and see if it helps. | | When the crash occurs, pages just server up the unable to | connect to Jrun Server' page. I do not know what the CPU or | memory usage was prior to the crash, cause, it was not being logged. | | | Brook | | | At 01:32 PM 7/12/2004, you wrote: | How many simultaneous processes are you allowing?The default of 10? | Try chopping it down.Minimum is 1 per processor. | | I found I had to go to this on my shared-hosting server.A | dual-processor box, but with all the stuff going on its | possible for a | thread to hang and not release its memory.memory usage | increases and | available threads decrease until *poof*.Cutting the number of | processes to 1 per processor gave me total stability, | although I'm sure | I could have bumped it up a process or two.That particular box is | plenty fast at 2 processes so I left it alone. | | The default of 10 could be way too much or not enough.Depends | completely on your application. | | -- | --Matt Robertson-- | MSB Designs, Inc. | mysecretbase.com | | -- | [http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads] | [http://www.houseoffusion.com/lists.cfm/link=i:4:170123This |Message] | [http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] | [http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user= | 905.825.4 | Fast | Unsubscribe] [http://www.houseoffusion.com/signin/User Settings] | [https://www.paypal.com/cgi-bin/webscr?amount=item_name=Hou | se+of+Fusi | onbusiness=donations%40houseoffusion.comundefined_quantity= | cmd=_xcli | ckDonations | and Support] | | -- | http://www.houseoffusion.com/banners/view.cfm?bannerid=40 | aaa2720.jpg | | | | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
Now than, that's enough of that! :) Aaron - Original Message - From: Rob To: CF-Talk Sent: Tuesday, July 13, 2004 5:19 PM Subject: Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd Sean, Your comments infer that missused grammer bothers you. I think its just the affect of perhaps a couple beers? But of course thats a mute point - excetra. :) On Mon, 12 Jul 2004 21:59:25 -0700, Sean Corfield [EMAIL PROTECTED] wrote: But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfc and the application scope
This topic has been covered at great length on the cfcdev mailing list and you might want to also check out Nathan's CFC best practice page, I think that may well cover most of your questions: http://www.dintenfass.com/cfcbestpractices/ From what I read in an article I located (sorry I dont have it here) - this was fine to do, and I could read/reference the application scope variables directly through my site without having to lock them (as they are used for read only - there is never any writing). Does this seem fine so far? As far as I know CFlock is no longer required with CFMX for protecting reading and writing to the application scope. and if so, also reading/referencing them from within cfcs? If encapsulation is important to you then, no don't reference application or session scopes directly from within your CFCs. Better to pass them into the CFC explicitly. If on the other hand you don't care about encapsulation... then go ahead and reference them. The other issue (the main one!) is that in my application.cfm file, I am creating my cfc objects within the application scope. eg: application.objTimetable = createObject(component, #application.components#.timetable) ; I do that all the time. The theory being that they are created once and stored in memory for any page to access/utilise at any time - however my concern is are they multi-thread accessible? what other issues are there?? I'll refer you to the Nathan's best practices. There is enough info there to make your CFCs thread safe. Hope this helps a little. Cheers G [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CFEclipse question
Hello, I have a cfeclipse question which might interest those of you guys who are using it. In the latest version 1.1.14 there is an option for setting the color depending of your code (ie. Html code in green, cf code in red). However this functionality seems to not work. I was wondering if some of you have experienced the same problem. Or did I miss something out? BTW, do you know a cfeclipse mailing list? J-M [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFEclipse question
On Tue, 13 Jul 2004 11:49:57 +0200, Jean-Marc Bottin [EMAIL PROTECTED] wrote: Hello, I have a cfeclipse question which might interest those of you guys who are using it. In the latest version 1.1.14 there is an option for setting the color depending of your code (ie. Html code in green, cf code in red). However this functionality seems to not work. I was wondering if some of you have experienced the same problem. Or did I miss something out? No the color changing menu is work in progress - I forgot to exclude the menu from the release. Sorry about that - think of it as a view into the future :) BTW, do you know a cfeclipse mailing list? Oh why sure : http://cfeclipse.tigris.org/servlets/ProjectMailingListList Cheers Jean-Marc look forward to seeing you there -- ~The cfml plug-in for eclipse~ http://cfeclipse.tigris.org ~open source xslt IDE~ http://treebeard.sourceforge.net ~open source XML database~ http://ashpool.sourceforge.net [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFEclipse question
Hi Jean Marc, Yes, there is a lively cfeclipse mailing list at http://cfeclipse.tigris.org. You'll need to sign up on the tigris site first, then you can join any of the mailing lists on the cfeclipse project. I'd suggest joining the users list. A bunch of stuff was added for color coding prior to the last release, but I don't think we got all the plumbing sorted out. As far as I remember we took the preference page out before the release, but I could be mistaken there. In either case, pop on over to the cfeclipse list and I'm sure we can get it sorted out. Spike Stephen Milligan Code poet for hire http://www.spike.org.uk Do you cfeclipse? http://cfeclipse.tigris.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Marc Bottin Sent: Tuesday, July 13, 2004 1:50 AM To: CF-Talk Subject: CFEclipse question Hello, I have a cfeclipse question which might interest those of you guys who are using it. In the latest version 1.1.14 there is an option for setting the color depending of your code (ie. Html code in green, cf code in red). However this functionality seems to not work. I was wondering if some of you have experienced the same problem. Or did I miss something out? BTW, do you know a cfeclipse mailing list? J-M [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFEclipse question
Cheers for the info. J-M _ From: Rob [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 11:53 To: CF-Talk Subject: Re: CFEclipse question On Tue, 13 Jul 2004 11:49:57 +0200, Jean-Marc Bottin [EMAIL PROTECTED] wrote: Hello, I have a cfeclipse question which might interest those of you guys who are using it. In the latest version 1.1.14 there is an option for setting the color depending of your code (ie. Html code in green, cf code in red). However this functionality seems to not work. I was wondering if some of you have experienced the same problem. Or did I miss something out? No the color changing menu is work in progress - I forgot to exclude the menu from the release. Sorry about that - think of it as a view into the future :) BTW, do you know a cfeclipse mailing list? Oh why sure : http://cfeclipse.tigris.org/servlets/ProjectMailingListList Cheers Jean-Marc look forward to seeing you there -- ~The cfml plug-in for eclipse~ http://cfeclipse.tigris.org ~open source xslt IDE~ http://treebeard.sourceforge.net ~open source XML database~ http://ashpool.sourceforge.net _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
dynamic insert query
Just wondering how I can go about building a dynamic insert query ??? I need to loop over a structure and insert the items into another database based on the type of item in the query column. The requirement for the looping, is that I don't know how many items will ever be in this structure at one time. I have tried to write the loop, but i keep getting errors with the syntax that the loop produces. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: dynamic insert query
Some more info or some code would be good! Pascal -Original Message- From: Brant Winter [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 12:18 To: CF-Talk Subject: dynamic insert query Just wondering how I can go about building a dynamic insert query ??? I need to loop over a structure and insert the items into another database based on the type of item in the query column. The requirement for the looping, is that I don't know how many items will ever be in this structure at one time. I have tried to write the loop, but i keep getting errors with the syntax that the loop produces. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: dynamic insert query
Just wondering how I can go about building a dynamic insert query ??? I need to loop over a structure and insert the items into another database based on the type of item in the query column. The requirement for the looping, is that I don't know how many items will ever be in this structure at one time. I have tried to write the loop, but i keep getting errors with the syntax that the loop produces. Assuming that your structure keys match up with the database fields, you should be able to loop through the list of keys to build the field list and then loop through the keys grabbing the value for the value list. One thing that you might not be taking into consideration is the type of variable that you're passing in.Anything that contains alpha characters is going to require single quotes... do you have a method in place to determine the type of field based on the field name? If you do then make sure you're using those rules - otherwise you might need to rethink how you're storing the data in the structure and look at a 3-for-1 approach - three keys in the struct for each field, one containing name, one containing the value and one containing the field type. That's just my two minute rambling at 7am - take it for what it's worth ;) Hatton [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
dynamic insert loop
I feel so stupid ! Once I wrote it down on paper, I realise that in insert query only affects one row of a table, therefore I need to include the whole insert statement in each iteration of the loop. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: dynamic insert loop
Well a even better way is to use stored procedures in this case. Provide all the data at once, and use tSQL to insert this code. This should only require one call instead of many to the database. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfc and the application scope
Leigh, someone already responded about cflock, but let me tell you how I handle application settings and CFCs. As the other responder mentioned, it is not good practice to directly reference Application variables inside CFCs. In the past, I used to simply do cfinclude template=settings.cfm inside my Application.cfm. settings.cfm would be a set of Application variables. I'd wrap the include with a check to see if they already existed. Now I create a CFC _specifically_ for getting my settings, which I'll either store in an ini or xml file. I'll either name that CFC Application or give it the same name as the project. My application.cfm file will then do cfinvoke component=cfcs.settings method=getSettings returnVariable=application.settings (Again, I wrap it with a check to see if application.settings already exist.) Now, my CFCs will have the exact same line in their constructor area. This means they have the same settings values as my code code outside of my CFCs, but it also means I don't have to worry about passing in applivation variables. On Tue, 13 Jul 2004 01:15:26 -0400, leigh white [EMAIL PROTECTED] wrote: Hi Everyone, I've been at a loss as to find information on the best way to handle my application's cfcs and config variables ... and from other threads I've read, I think there's probably a few of you here who can help ... At present, I configure a whole bunch of settings/structures in the application scope (in application.cfm) just the once for each lifetime of the application. From what I read in an article I located (sorry I dont have it here) - this was fine to do, and I could read/reference the application scope variables directly through my site without having to lock them (as they are used for read only - there is never any writing). Does this seem fine so far? and if so, also reading/referencing them from within cfcs? The other issue (the main one!) is that in my application.cfm file, I am creating my cfc objects within the application scope. eg: application.objTimetable = createObject(component, #application.components#.timetable) ; The theory being that they are created once and stored in memory for any page to access/utilise at any time - however my concern is are they multi-thread accessible? what other issues are there?? I dont want to have to create a new instance of an object each time I enter the page (ie request scope) and I dont want to store the object in the session scope either (meaning every user logged in has there own object instance!), so that's where I figured storing in the application scope! Any help or advice would be extremely appreciated Thanks Leigh [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Test - Disregard and Delete
Just a test. Switched to a new access provider and had to set up an internal SMTP to send mail. Checking for a bounce. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfc and the application scope
Not sure you really meant that you name a CFC Application since your code segment references a CFC called Settings but Since Application is a reserved word in CF (I.E. it is the name of a variable scope), I wouldn't recommend using application as the name of a CFC (or any sort of variable). At 09:01 AM 7/13/2004, you wrote: Now I create a CFC _specifically_ for getting my settings, which I'll either store in an ini or xml file. I'll either name that CFC Application or give it the same name as the project. My application.cfm file will then do cfinvoke component=cfcs.settings method=getSettings returnVariable=application.settings -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfc and the application scope
One of the basics of CFC's are it must rely on itself. It only has input and output, and everything you need must rely on input. :-) Micha Schopman Software Engineer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: StructKeyExists() vs IsDefined()
Barney Boisvert wrote: cfset variables.variables.test = / cfoutput #isDefined(variables.test)#br / #structKeyExists(variables, test)# /cfoutput isDefined() returns true, structKeyExists() returns false. I have a fairly major concern with this.Why is isDefined() returning true?It should be returning false, as the scope variables has been specified as part of the whole variable name. The whole point of scoping variables is to stop functions like isDefined() going off and doing its own thing.Its should only be checking to see if test exists in the variables scope and not whether variables.test exists in any scope, including a null scope. This would means that scoping is not really taken into account by coldfusion, other by pure luck that functions like isDefined() look in the null scope first. If isDefined() is not taking scopes into account, does it keep going until its checked all scopes or does it stop searching when it hits the first occurance? If I'm using StructKeyExists() I need to check whether the struct that I'm checking in exists before I check for the keys existance as it throws an exception if the struct doesn't exist, so I would have; cfif IsDefined(variables) AND StructKeyExists(variables.variables,test) or even; cfif IsDefined(variables.variable) AND StructKeyExists(variables.variables,test) or; cfif IsDefined(variables) AND StructKeyExists(variables,variables) AND StructKeyExists(variables.variables,test) Ok - so this example is exacerbated by the improper use of a scope name as a variable name, but hopefully you see the point that because you have to use isDefined() to check to see if your struct exists before you go looking for keys in the struct you are already scanning through all the scopes to find your struct.The above examples are probably made even worse by the fact that you should check to make sure that the variable you are about to treat as a struct is actually a struct and not a string, to avoid another exception. (Incidently, found an instance of a string being referenced as struct in the Spectra source) Anyway, all of this brings me back to : Given that I've specified a scoped variable, why is isDefined() still scanning when it should just be checking one instance? [One for Sean me thinks ;) ] Given all the additional work that surrounds using StructKeyExists(), does this function actually give you any benefit over isDefined() when used in the context ofdoes this variable exist?? I think the answer really is no.When used in the context of I know this variable exists and is a struct, does it have this key? then obviously yes it does. Do cfset variables['foo.bar'] = 42 / and then try isDefined('foo.bar') vs structKeyExists(foo,'bar') (the latter will fail *before* calling structKeyExists() because foo is not defined as a variable). Ahem... isn't this wrong, just plain wrong. I understand what is happening here, but it means that variables.foo.bar doesn't exist either, that foo.bar can only be referenced by variables['foo.bar'] and CF is letting people create variables with invalid characters in their names.It all too scary to contemplate really. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Linux OS authentication
Thank you for all of you help.Hopefully this will be my last question. So the first step is I give the directory with all the CF pages to the Unix admin and he figures out how to compile them into Apache, right? Final question: How do I pass the username and password to Apache to do the authentication? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
SOT: PDF Remote Printing
As Critz would say... Oi Cf-talk! I have been, once again, volunteered to make something work that no one knows even if it can work. We have some fillable PDF forms on our external site. The powers that be want me to add code into these forms that will make the form print on one of our printers here in the hospital. The PDF's are on our WEB server, hosted here in-house. The forms are filled out in random places across the county or across the state. The people filling out the forms are not connected to our network. The hope is that they can click a submit button and the form will print out on a HP Laser here in the hospital. I have fooled around a little with the print command in Acrobat 5, but the dialog pops up asking which printer I want to print it to. Is there any way to bypass that dialog, default it to this in-house printer, and execute the print command? *How do I get into these things* ;) Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org There is no right price for the wrong product, even if it is inexpensive and delivered on time. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Linux OS authentication
Christopher Farino wrote: Thank you for all of you help.Hopefully this will be my last question. So the first step is I give the directory with all the CF pages to the Unix admin and he figures out how to compile them into Apache, right? You tell the Unix admin I need webdir X protected by an Apache/PAM authentication module. You can point him to http://modules.apache.org/search?query=truesearch=PAM to pick a module that is suitable for you Apache/Linux versions. Final question: How do I pass the username and password to Apache to do the authentication? Visitors get the standard popup for HTTP authentication. See for instance http://student.tnw.tudelft.nl/ Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfc and the application scope
Raymond, I don't understand the value of your solution... you're setting the Application.settings from your Application.cfm, which loads them into the application scope... then you are doing it again in the constructor of the CFC, and assigning them to the application scope as well, which will overwrite any existing application scope variables. So it seems like you're still referencing the application scope variables within the CFC, although you are loading them multiple times for each CFC you load. Also, you mention that you do this so you don't have to pass in Application scope variables, but Application scope variables ARE available to the CFC with no problem, so you don't have to pass them in anyway. I guess I'm just looking for a little more explanation as to why you can't simply reference the application scope variables once they are already initialized, because the CFC doesn't store its own version of the application scope. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
the time
I have to record a time in a DB.It would seem that I'd do that with createTime.I have just a few simple questions. In the Oracle DB, do I make a date field as usual and populate it with yr/mo/da = 0,0,0 and then insert the createTime variable in one block?Is there maybe a time type for a field? (I suppose not). IOW, how is just time, where no date is needed, handled? -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD20742-2611 301-405-2545 Phone www.phi.umd.edu [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
outputting variable
I have a form where the from variable is incremented dynamically if there is more than one occurrence of the same field. The input name looks like this: name=qty#i#. The #i# is a number that increments according to how many fields are needed. In this instance, if I have more than one item, then the quantity field would be qty2, qty3, qty4, etc. How do I carry over this field as a form variable to the next form on a submit? I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the Evaluate function my help. Thanks. Robert O. HWW [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry
One final one that i just HAD to add to this OT post: Lose vs. Loose. Gets my blood boiling for some reason. I'm convinced that well over half the population believes that lose is the opposite of tight, and that my Royals loose twice as many games as they win. - Original Message - From: Sean Corfield To: CF-Talk Sent: Monday, July 12, 2004 11:59 PM Subject: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry
I agree with you...not so much in emails, but man, does it make me mad when I see billboards, signs, magazines, etc that butcher the English language.Is it really that hard to have someone proofread things?These are things that make Americans look like a bunch of ignoramuses...(and I am 'born and raised', so no flames please). their vs there or they're your vs you're to vs too its vs it's and the list rolls on... Whew! *that* was an interesting rant for a Tuesday morning... Sorry for the OT post, but I felt like chiming in... Ray At 09:15 AM 7/13/2004, you wrote: One final one that i just HAD to add to this OT post: Lose vs. Loose. Gets my blood boiling for some reason. I'm convinced that well over half the population believes that lose is the opposite of tight, and that my Royals loose twice as many games as they win. - Original Message - From: Sean Corfield To: CF-Talk Sent: Monday, July 12, 2004 11:59 PM Subject: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: the time
If you're using 9i, there's a timestamp datatype. Not supported in 8i, of course. So, you'd have to do a work around. Whether you store phony dates to go with your time, or store your time in a varchar2 column depends on what you want to do with your time. I'd _guess_ that if you don't have a date relevant to the time, then you're not going to be treating it as a _real_ time (i.e. not doing time math and stuff like that). In which case, I'd probably store it as a varchar2. -d - Original Message - From: Daniel Kessler I have to record a time in a DB.It would seem that I'd do that with createTime.I have just a few simple questions. In the Oracle DB, do I make a date field as usual and populate it with yr/mo/da = 0,0,0 and then insert the createTime variable in one block?Is there maybe a time type for a field? (I suppose not). IOW, how is just time, where no date is needed, handled? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: outputting variable
Robert Orlini wrote: I have a form where the from variable is incremented dynamically if there is more than one occurrence of the same field. The input name looks like this: name=qty#i#. The #i# is a number that increments according to how many fields are needed. In this instance, if I have more than one item, then the quantity field would be qty2, qty3, qty4, etc. How do I carry over this field as a form variable to the next form on a submit? I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the Evaluate function my help. If I've follow what you are asking, and you want the form variables to go into say hidden fields on the next form then you would do something like this. cfloop list=#form.fieldnames# index=thisFieldName cfoutput input name=#thisFieldName# type=hidden value=#form[thisFieldName]##chr(13)# /cfoutput /cfloop If you're on cf5 or less then you probably (because I can't remember if form scope is in a struct in CF5) need to use the following evaluate in the value field of the input rather than the structure reference : #evaluate(form.thisFieldName)# Regards Stephen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: java objects and cfmx
Ummm. I think he was referring to the versions of java ;-) KOla -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: 08 July 2004 19:06 To: CF-Talk Subject: RE: java objects and cfmx and I have learned that, in Java: 1 == 1.0 1 == 1.1 2 == 1.2 2 == 1.3 2 == 1.4 All of the above are true -- what could be more clear?:) I don't know what the heck you're learning from, but that's all kinds of wrong.Here's a sample class: public class test { public static void main(String[] args) { runTest(1, 1.0); runTest(1, 1.1); runTest(2, 1.2); runTest(2, 1.3); runTest(2, 1.4); runTest(2, 1.5); runTest(2, 2.0); } private static void runTest(int i, double f) { System.out.println( + i + == + f + = + (i == f)); } } And the output it generates: 1 == 1.0 = true 1 == 1.1 = false 2 == 1.2 = false 2 == 1.3 = false 2 == 1.4 = false 2 == 1.5 = false 2 == 2.0 = true Which is exactly as you'd expect. Cheers, barneyb _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: outputting variable
#trim(form[qty i])# Don't use evaluate if you don't have to. -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:05 To: CF-Talk Subject: outputting variable I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Hot Button - English pedantry
hot button moot is a tricky one. It seems to have more-or-less antonymous meanings depending upon which side of the pond you're on. (Damn!, ended a sentence with a prep.) /hot button -Original Message- From: G [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 09:16 To: CF-Talk Subject: Re: Hot Button - English pedantry One final one that i just HAD to add to this OT post: Lose vs. Loose. Gets my blood boiling for some reason. I'm convinced that well over half the population believes that lose is the opposite of tight, and that my Royals loose twice as many games as they win. - Original Message - From: Sean Corfield To: CF-Talk Sent: Monday, July 12, 2004 11:59 PM Subject: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: outputting variable
Hi Robert, Try form[qty i] or form[qty#i#]. -joe - Original Message - From: Robert Orlini [EMAIL PROTECTED] Date: Tue, 13 Jul 2004 09:05:18 -0400 Subject: outputting variable To: CF-Talk [EMAIL PROTECTED] I have a form where the from variable is incremented dynamically if there is more than one occurrence of the same field. The input name looks like this: name=qty#i#. The #i# is a number that increments according to how many fields are needed. In this instance, if I have more than one item, then the quantity field would be qty2, qty3, qty4, etc. How do I carry over this field as a form variable to the next form on a submit? I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the Evaluate function my help. Thanks. Robert O. HWW [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry
Dave F wrote: (Damn!, ended a sentence with a prep.) That's a latin rule, not really an english rule =) (Sorry Michael!) - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Hot Button - English pedantry
(Damn!, ended a sentence with a prep.) ...and followed an exclamation mark with a comma ;-) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
Read the definition: http://www.m-w.com/cgi-bin/dictionary?book=Dictionaryva=inferx=0y=0 The word is also a synonym for indicate, suggest and hint - Original Message - From: Sean Corfield To: CF-Talk Sent: Tuesday, July 13, 2004 12:59 AM Subject: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: outputting variable
If you're on cf5 or less then you probably (because I can't remember if form scope is in a struct in CF5) need to use the following evaluate in the value field of the input rather than the structure reference : #evaluate(form.thisFieldName)# [Pascal Peters] Form vars (and some other scopes) were introduced as a struct in 4.5 Other scopes were * Application * Cookie * URL * Session * Request * CGI * Attributes Pascal [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: outputting variable
Thanks All, but... On each example I get: Error resolving parameter i ColdFusion was unable to determine the value of the parameter. On the bottom of the page, however, the form field for qty appears correctly: Form Fields: QTY1=12 QTY2=13 -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:27 AM To: CF-Talk Subject: RE: outputting variable #trim(form[qty i])# Don't use evaluate if you don't have to. -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:05 To: CF-Talk Subject: outputting variable I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry
Or how about were vs. we're, as in: We were on topic, but now we're not. :) -joe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: the time
If you're using 9i, there's a timestamp datatype. Not supported in 8i, of course. So, you'd have to do a work around. Whether you store phony dates to go with your time, or store your time in a varchar2 column depends on what you want to do with your time. I'd _guess_ that if you don't have a date relevant to the time, then you're not going to be treating it as a _real_ time (i.e. not doing time math and stuff like that). In which case, I'd probably store it as a varchar2. Sounds sensible, thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
I am not used to participate in OT discussions, but I just wanted to say that a lot of people on this list don't speak or write English natively. For me, English is only my third language, but I try to write it correctly. It doesn't amuse me if others make comments like this on the list. I didn't even know infer existed. I would like to see you get a message in Dutch correct. Pascal -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 06:59 To: CF-Talk Subject: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: outputting variable
That's because I doesn't exist. Show us the code of the action page Pascal -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:35 To: CF-Talk Subject: RE: outputting variable Thanks All, but... On each example I get: Error resolving parameter i ColdFusion was unable to determine the value of the parameter. On the bottom of the page, however, the form field for qty appears correctly: Form Fields: QTY1=12 QTY2=13 -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:27 AM To: CF-Talk Subject: RE: outputting variable #trim(form[qty i])# Don't use evaluate if you don't have to. -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:05 To: CF-Talk Subject: outputting variable I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Hot Button - English pedantry
(Damn!, ended a sentence with a prep.) ...and followed an exclamation mark with a comma ;-) Personally I was wondering how one would end a sentence with a prep-school kid. :P s. isaac dealey954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477DE=1 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Checking if cookies are disabled in the browser
I'm sure this has been discussed on this board on numerous occassions. I can't find any thread that shows how this is done. Can somebody please programatically show me how to check if the browser cookies are disabled. if cookies enabled do this: cfcookie name=user value=bloggs else do this: cfset session.username = bloggs Best regards, cfcoder [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
Pascal Peters wrote: I am not used to participate in OT discussions, but I just wanted to say that a lot of people on this list don't speak or write English natively. For me, English is only my third language, but I try to write it correctly. It doesn't amuse me if others make comments like this on the list. I didn't even know infer existed. I would like to see you get a message in Dutch correct. Good point, now we're not only age-ists, but xenophobic as well. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Checking if cookies are disabled in the browser
You can't know if cookies are enabled from the server. Als, using session vars won't help much because they use cookies. If you are on CFMX: - Store info in session vars - Keep session alive for users without cookies by using the URLSessionFormat() function on every url in your application and the addtoken=yes attribute in cflocation. Pascal -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:56 To: CF-Talk Subject: Checking if cookies are disabled in the browser I'm sure this has been discussed on this board on numerous occassions. I can't find any thread that shows how this is done. Can somebody please programatically show me how to check if the browser cookies are disabled. if cookies enabled do this: cfcookie name=user value=bloggs else do this: cfset session.username = bloggs Best regards, cfcoder [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Unusual behaviour with CFHEADER
I am exporting stock information to a csv file then using the following to lines to deliver the file to the user. cfheader name=Content-Disposition value=attachment; filename=stockvaluation.csv cfcontent file=#CurrentDirectory#Files/stockvaluation.csv reset=yes type=application/msexcel >From our Windows 2003 Server this works fine and starts to download a file asking the user to save or open it, however from our RedHat server the contents of the file are displayed in the browser window instead, this suggests the first line isn't being processed, however if I then do a File Save As the default filename is stockvaluation_csv.html so clearly it is. Anyone any idea what is causing this and more importantly how to fix it? -- James Smith [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
For the record, I personally was only referring to signs and whatnot here in the US.Like I said, emails don't bother me that much, just things that are put into the public eye. Don't wanna get labeled a xenophobe - that ain't me! (bad grammar intended, LOL) I wouldn't stand a chance at the Dutch language, and I have much respect for someone who knows more than one langauge... Ray At 09:58 AM 7/13/2004, you wrote: Pascal Peters wrote: I am not used to participate in OT discussions, but I just wanted to say that a lot of people on this list don't speak or write English natively. For me, English is only my third language, but I try to write it correctly. It doesn't amuse me if others make comments like this on the list. I didn't even know infer existed. I would like to see you get a message in Dutch correct. Good point, now we're not only age-ists, but xenophobic as well. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
OT- SQL backup question
I back up my transaction log with the following script. How come after the script runs (successfully), the .LDF file is still large and not smaller? I thought when you backed up the file it is completely truncated thus freeing up space? BACKUP LOG AVPhoneLookup TO DISK= 'g:\avbkp\avp_trans.bak' WITH INIT [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Oracle Developer Edition?
On Jul 12, 2004, at 4:17 PM, Ray Champagne wrote: Does anyone know if there is an Oracle Developer Edition that we could use to develop an app in-house, then have it hosted at any Oracle host once done? Check out Oracle's developer network, they have (I think) everything you could ever need, you just have to download it. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 Nothing endures but change. - Heraclitus [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: outputting variable
Sorry my brain just loosened up after the coffee cart came. I put it in a loop now which defines the i. I'm gettin there...thanks for the patience and help. Robert O. -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:53 AM To: CF-Talk Subject: RE: outputting variable That's because I doesn't exist. Show us the code of the action page Pascal -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:35 To: CF-Talk Subject: RE: outputting variable Thanks All, but... On each example I get: Error resolving parameter i ColdFusion was unable to determine the value of the parameter. On the bottom of the page, however, the form field for qty appears correctly: Form Fields: QTY1=12 QTY2=13 -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:27 AM To: CF-Talk Subject: RE: outputting variable #trim(form[qty i])# Don't use evaluate if you don't have to. -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:05 To: CF-Talk Subject: outputting variable I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read the _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: the time
Post 8i, use timestamps. If you are Oracle 8i or earlier, you should probably use a date field. Here are two options: 1.Use to_date('10:10','HH:mi') to store the time in the Oracle database.This will insert the current date in the date portion but you can retreive the time using to_char(date_field 'HH:mi'); 2.Use to_date('01/01/0001','MM/DD/') + :hour/24 + :minute/1440to store the time in the Oracle database.This will allow you to add/subtract time and get the time difference in fractional days.To retrieve the time use to_char(datefield, 'HH:mi'). Hope this helps. Janet. At 09:01 AM 7/13/2004 -0400, you wrote: I have to record a time in a DB.It would seem that I'd do that with createTime.I have just a few simple questions. In the Oracle DB, do I make a date field as usual and populate it with yr/mo/da = 0,0,0 and then insert the createTime variable in one block?Is there maybe a time type for a field? (I suppose not). IOW, how is just time, where no date is needed, handled? -- Daniel Kessler [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: https and includes...
( Thanks to all who responded on this one )... What would my options be assuming that no virtual directories are possible to set up. ( this is on an ISP ). And after initially contacting them, they seemed to be doubtful they supported virtual directories. I would like to reuse as much of the code as possible without duplication. + Non secure site Directory ( http://www.mysite.com ) | cfincludes / custom tags directory | images directory + Secure Site Directory ( https://www.mysite.com ) | I wish to point to the directory on the Normal Site ( ie: use virtual directories here ) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Oracle Developer Edition?
Bryan, do you realize that your CFUG's been delisted? http://www.macromedia.com/cfusion/usergroups/search_results.cfm?findType=2country_id=5FCDE531-96F0-4593-9D119B1DF274708D On Mon, 12 Jul 2004 13:31:55 -0700, Bryan Stevenson [EMAIL PROTECTED] wrote: Oracle Lite according to one of my partners...free dload from Oracle's site. Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Ray Champagne To: CF-Talk Sent: Monday, July 12, 2004 1:17 PM Subject: Oracle Developer Edition? Does anyone know if there is an Oracle Developer Edition that we could use to develop an app in-house, then have it hosted at any Oracle host once done? Oracle licenses are expensive at best, and we don't have the $$$ to fork over for a full-fledged version just for this one contract... Thanks, Ray = Ray Champagne - Senior Application Developer CrystalVision Web Site Design and Internet Services 603.433.9559 www.crystalvision.org = The information contained in this transmission (including any attached files) is CONFIDENTIAL and is intended only for the person(s) named above. If you received this transmission in error, please delete it from your system and notify us immediately. If you are not an intended recipient, please note that any use or dissemination of the information contained in this transmission (including any attached files) and the copying, printing, or retransmission of that information is strictly prohibited. You can notify us by return email or by phone at 603.433.9559. Thank you. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Unusual behaviour with CFHEADER
James: I don't know that this is it but it may have to do with the Mime-Type you're using.The official, IANA-defined Mime-Type for Excel file is application/vnd.ms-excel and not the one you're using.It may be that Windows servers work well with what you have and that *nix servers don't. Just a thought. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ James Smith [mailto:[EMAIL PROTECTED] wrote: I am exporting stock information to a csv file then using the following to lines to deliver the file to the user. cfheader name=Content-Disposition value=attachment; filename=stockvaluation.csv cfcontent file=#CurrentDirectory#Files/stockvaluation.csv reset=yes type=application/msexcel From our Windows 2003 Server this works fine and starts to download a file asking the user to save or open it, however from our RedHat server the contents of the file are displayed in the browser window instead, this suggests the first line isn't being processed, however if I then do a File Save As the default filename is stockvaluation_csv.html so clearly it is. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Checking if cookies are disabled in the browser
Pascal Peters wrote: You can't know if cookies are enabled from the server. I did one site where we popped up a window that set a cookie, then refreshed to a second page to check for the existence of the cookie, and if it existed, closed the window.. if the cookie didn't exist, it displayed a warning. Of course, that was a long time ago, before popup blockers were in common use. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CF to BD inconsistencies
I've just started moving some stuff over to a server running BlueDragon (free version) and I've found a couple of inconsistencies... Anyone know why the following code works fine in CFMX but not so well in BlueDragon. When run in BlueDragon I get an error: Invalid index to query column. valcol cannot be evaluated to an integer value. cfset selected = iif(listfind(ivalue,iquery[valcol][x]),de(selected), de()) Here's the call and the function: select #request.ff.in.select(tBillToState,qShipToFormData.tShipToState,qState ,tState,tState,)# cffunction name=in_select returntype=string output=false hint=returns an html select list cfargument name=iname type=string required=true cfargument name=ivalue type=string required=true cfargument name=iquery required=true cfargument name=valcol type=string required=true cfargument name=labelcol type=string required=true cfargument name=option1 type=string default=,please select#repeatstring('nbsp;',15)# cfargument name=size type=numeric default=1 cfargument name=multiple type=boolean default=false cfargument name=maxlength type=numeric default=25 This may look really familiar to you Isaac! Thanks, Ferg [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfc and the application scope
Jeffrey, yep, I meant Settings. Too early to post for me. :) On Tue, 13 Jul 2004 08:09:14 -0400, Jeffry Houser [EMAIL PROTECTED] wrote: Not sure you really meant that you name a CFC Application since your code segment references a CFC called Settings but Since Application is a reserved word in CF (I.E. it is the name of a variable scope), I wouldn't recommend using application as the name of a CFC (or any sort of variable). At 09:01 AM 7/13/2004, you wrote: Now I create a CFC _specifically_ for getting my settings, which I'll either store in an ini or xml file. I'll either name that CFC Application or give it the same name as the project. My application.cfm file will then do cfinvoke component=cfcs.settings method=getSettings returnVariable=application.settings -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
cf to bd inconsistencies...
A little more explanation in case it's needed: The function takes the input runs a query and creates a select box... I'm sure everyone could have figured that out, but I just wanted to be a little more thorough. Ferg [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Checking if cookies are disabled in the browser
You can't reliably know if a visitor blocks cookies. Your method mill work most of the time, but the only thing you can really tell is that the cookie isn't sent to the server, not why it wasn't sent. If you have client or session management enabled, looking for the cf cookies will give you an idea. If they don't exist, it is *likely* that cookies are blocked. Pascal -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 16:15 To: CF-Talk Subject: Re: Checking if cookies are disabled in the browser Pascal Peters wrote: You can't know if cookies are enabled from the server. I did one site where we popped up a window that set a cookie, then refreshed to a second page to check for the existence of the cookie, and if it existed, closed the window.. if the cookie didn't exist, it displayed a warning. Of course, that was a long time ago, before popup blockers were in common use. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Coldfusion Web Image Editor
Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! Thanks in advance. Ryan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CF to BD inconsistencies
The easiest way to see what the problem is, is to break down the complex _expression_ into separate lines. I would recommend that anyway since the current _expression_ isn't very readable and uses of iif and de are always suspect. -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ferguson Sent: Tuesday, July 13, 2004 10:15 AM To: CF-Talk Subject: CF to BD inconsistencies I've just started moving some stuff over to a server running BlueDragon (free version) and I've found a couple of inconsistencies... Anyone know why the following code works fine in CFMX but not so well in BlueDragon. When run in BlueDragon I get an error: Invalid index to query column. valcol cannot be evaluated to an integer value. cfset selected = iif(listfind(ivalue,iquery[valcol][x]),de(selected), de()) Here's the call and the function: select #request.ff.in.select(tBillToState,qShipToFormData.tShipToState,qState ,tState,tState,)# cffunction name=in_select returntype=string output=false hint=returns an html select list cfargument name=iname type=string required=true cfargument name=ivalue type=string required=true cfargument name=iquery required=true cfargument name=valcol type=string required=true cfargument name=labelcol type=string required=true cfargument name=option1 type=string default=,please select#repeatstring('nbsp;',15)# cfargument name=size type=numeric default=1 cfargument name=multiple type=boolean default=false cfargument name=maxlength type=numeric default=25 This may look really familiar to you Isaac! Thanks, Ferg [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
At 10:23 AM 7/13/2004, you wrote: Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! Ooo, damn, I need this too.I've been meaning to ask for days.I just need crop, though, or more specifically something that will allow like a blue box to be moved and resized over the image (i.e. this doesn't have to be real-time, I just need to crop coordinates). -- Phillip Beazley Onvix -- Website Hosting, Development E-commerce Visit http://www.onvix.com/ or call 727-578-9600. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
auto populating and relating 3 selects
I'm working on a site where the users wants to relate 3 select drop downs. Basically the user selects from the 1st drop down, this populates the second and then from the option they choose on the second, this populates the third. Back when they only needed 2, I found the CF_TwoSelectsRelated more than adequate but this cant accommodate 3. Are there any tags which can do this, if not, does anyone know of any sites or other resources that can explain how to do this with js and cf? Thanks! Greg Morphis Rapid Response Team Client Server Dev/Analyst I ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Checking if cookies are disabled in the browser
Pascal Peters wrote: You can't reliably know if a visitor blocks cookies. Your method mill work most of the time, but the only thing you can really tell is that the cookie isn't sent to the server, not why it wasn't sent. I'll grant you that, but if you're building a site that requires cookies, the why doesn't really matter. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: auto populating and relating 3 selects
http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.htm qForms rocks! Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfmail suddenly not working...very wierd
But the error message infers that the login is not being accepted. Regards, Howie - Original Message - From: Josh To: CF-Talk Sent: Monday, July 12, 2004 9:46 PM Subject: Re: cfmail suddenly not working...very wierd No, the login is correct.I have tested it with a couple different accounts that I know are correct...still no luck! Howie Hamlin wrote: It looks like you are not authenticating to the email server.Maybe the login changed on the server? Regards, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Josh To: CF-Talk Sent: Monday, July 12, 2004 9:05 PM Subject: cfmail suddenly not working...very wierd on one of our servers, cfmail is not working all of the sudden. Here is the code: cfmail to=[EMAIL PROTECTED] cc=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=TESTING123 server=mail.thisdomain.com username=me password=mypassword testing... /cfmail the server is set up not to relay, and requires authentification to be able to send mail.we are supplying the correct user/password and the from address really exists... here is the error in the mail.log: Error,scheduler-3,07/12/04,18:58:40,,Invalid Addresses; nested exception is:javax.mail.SendFailedException: 550 not local host mydomain.com, not a gateway ;nested exception is: javax.mail.SendFailedException: 550 not local host thisdomain.net, not a gateway Any ideas? Thanks! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Unusual behaviour with CFHEADER
OK, that fixed it thanks. This does bring up a question however, I was under the impression that when sending files it was the browser that interpreted the mime information and loaded the appropriate program. Secondly, when uploading an xls file to the server it is reported as being application/msexcel on both of our systems and if you use accept=application/vnd.ms-excel on the cffile it will fail (I know this because this is done on a different section of the site involving importing values) and this is why I was using the other mime type. I am convinced that this is all Microsoft's fault. ;-) -- Jay -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 15:13 To: CF-Talk Subject: RE: Unusual behaviour with CFHEADER James: I don't know that this is it but it may have to do with the Mime-Type you're using.The official, IANA-defined Mime-Type for Excel file is application/vnd.ms-excel and not the one you're using.It may be that Windows servers work well with what you have and that *nix servers don't. Just a thought. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ James Smith [mailto:[EMAIL PROTECTED] wrote: I am exporting stock information to a csv file then using the following to lines to deliver the file to the user. cfheader name=Content-Disposition value=attachment; filename=stockvaluation.csv cfcontent file=#CurrentDirectory#Files/stockvaluation.csv reset=yes type=application/msexcel From our Windows 2003 Server this works fine and starts to download a file asking the user to save or open it, however from our RedHat server the contents of the file are displayed in the browser window instead, this suggests the first line isn't being processed, however if I then do a File Save As the default filename is stockvaluation_csv.html so clearly it is. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
At 10:23 AM 7/13/2004, you wrote: Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! I'm pretty sure you'll need either Java or ActiveX to do any image editing..unlessy ou're talking about something simple like layering text and stuff... Here's a nice looking ActiveX image editor... fairly cheap (100 euro for an unlimited use license) http://www.indis.nl/oie.asp For use in any content or web site management systems - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
re: cfmail suddenly not working...very wierd
Original Message: From: Josh [EMAIL PROTECTED] cfmail to=[EMAIL PROTECTED] cc=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=TESTING123 server=mail.thisdomain.com username=me password=mypassword It looks like someone else is trying to suggest this as the problem, but I'll try to be more explicit. Your from address has a top-level domain of .net.Your mail server has a top-level domain of .com.You say that your mail server is set not to relay.What that essentially means is that only addresses from the same domain as the mail server will get sent out, unless you have added specific domains to the accept messages from list. The error message you're getting (not a gateway) suggests that your mail server can't send addresses from the .net domain.Either change the from address or add the from domain to the list of domains that your mail server will accept outgoing messages from. Scott --- Scott Brady http://www.scottbrady.net/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
There is a very good server side solution from Alagad.Check out http://alagad.com/index.cfm/name-aic. - Original Message - From: Ryan Mannion [EMAIL PROTECTED] Date: Tue, 13 Jul 2004 10:23:53 -0400 Subject: Coldfusion Web Image Editor To: CF-Talk [EMAIL PROTECTED] Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! Thanks in advance. Ryan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: auto populating and relating 3 selects
Check out this tag : http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=34798885page=0scrollPos=0subcatid=0snid=sn106itemnumber=3extid=1012040catid=0 - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tue, 13 Jul 2004 09:33:48 -0500 Subject: auto populating and relating 3 selects To: CF-Talk [EMAIL PROTECTED] I'm working on a site where the users wants to relate 3 select drop downs. Basically the user selects from the 1st drop down, this populates the second and then from the option they choose on the second, this populates the third. Back when they only needed 2, I found the CF_TwoSelectsRelated more than adequate but this cant accommodate 3. Are there any tags which can do this, if not, does anyone know of any sites or other resources that can explain how to do this with js and cf? Thanks! Greg Morphis Rapid Response Team Client Server Dev/Analyst I ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
Pascal Peters wrote: I am not used to participate in OT discussions, but I just wanted to say that a lot of people on this list don't speak or write English natively. For me, English is only my third language, but I try to write it correctly. It doesn't amuse me if others make comments like this on the list. I didn't even know infer existed. I would like to see you get a message in Dutch correct. Ik neem aan dat dat niet voor mij bedoeld is. Jochem (always up to a challenge) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
The types of functions you are describing need not be client based. You could do this by just selecting an area of an image (a fairly easy dhtml or flash function), then submitting the results to the server with the imagename, function and select area. Most of the cf image tags can handle the crop or resize. Then return the result back to the browser, along with a restore button, and even a history list of steps taken from the original image. Just a thought. Jerry Johnson [EMAIL PROTECTED] 07/13/04 10:42AM At 10:23 AM 7/13/2004, you wrote: Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! I'm pretty sure you'll need either Java or ActiveX to do any image editing..unlessy ou're talking about something simple like layering text and stuff... Here's a nice looking ActiveX image editor... fairly cheap (100 euro for an unlimited use license) http://www.indis.nl/oie.asp For use in any content or web site management systems - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: auto populating and relating 3 selects
Great, thanks for the info on qForms and this. GM -Original Message- From: Boyzoid [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:51 AM To: CF-Talk Subject: Re: auto populating and relating 3 selects Check out this tag : http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=34798885page=0scrollPos=0subcatid=0snid=sn106itemnumber=3extid=1012040catid=0 - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tue, 13 Jul 2004 09:33:48 -0500 Subject: auto populating and relating 3 selects To: CF-Talk [EMAIL PROTECTED] I'm working on a site where the users wants to relate 3 select drop downs. Basically the user selects from the 1st drop down, this populates the second and then from the option they choose on the second, this populates the third. Back when they only needed 2, I found the CF_TwoSelectsRelated more than adequate but this cant accommodate 3. Are there any tags which can do this, if not, does anyone know of any sites or other resources that can explain how to do this with js and cf? Thanks! Greg Morphis Rapid Response Team Client Server Dev/Analyst I ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
Boyzoid wrote: There is a very good server side solution from Alagad.Check out http://alagad.com/index.cfm/name-aic. The correct uRL is:http://alagad.com/index.cfm/name-=aic Though that isn't really an image editor. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Checking if cookies are disabled in the browser
Thanks Pascal and everybody else who replied. I'll give this a try. Thanks regards, cfcoder REF: You can't know if cookies are enabled from the server. Als, using session vars won't help much because they use cookies. If you are on CFMX: - Store info in session vars - Keep session alive for users without cookies by using the URLSessionFormat() function on every url in your application and the addtoken=yes attribute in cflocation. Pascal [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Unusual behaviour with CFHEADER
Jay: When the server sends files to the browser, it is the server's responsibility to include the file's Mime-Type.Whether or not the browser accepts this (it should) is up to the browser, but the server always returns a Mime-Type.MSIE has been known to ignore the Mime-Type returned by the server and to instead try to figure out the file type on its own by looking at the file's extension and the first few bytes of the file. When a browser sends a file to the server, it is the browser's responsibility to include the Mime-Type of the file being sent.The server is supposed to rely on the browser-supplied Mime-Type.Coming from a Windows-based system, it is entirely possible that the browser is sending over application/msexcel instead of application/vnd-msexcel as the Mime-Type.This would be Microsoft's fault 8^). In general, whichever party to the connection is sending the content, it is that party's responsibility to also specify the content's Mime-Type.For more information on HTTP take a look at the preso I gave last year: http://www.cfug-md.org/meetings/ColdFusionFoundationsHTTP_09-09-03.ppt -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ James Smith [mailto:[EMAIL PROTECTED] wrote: This does bring up a question however, I was under the impression that when sending files it was the browser that interpreted the mime information and loaded the appropriate program. Secondly, when uploading an xls file to the server it is reported as being application/msexcel on both of our systems and if you use accept=application/vnd.ms-excel on the cffile it will fail (I know this because this is done on a different section of the site involving importing values) and this is why I was using the other mime type. I am convinced that this is all Microsoft's fault. ;-) Mosh Teitelbaum [mailto:[EMAIL PROTECTED] wrote: I don't know that this is it but it may have to do with the Mime-Type you're using.The official, IANA-defined Mime-Type for Excel file is application/vnd.ms-excel and not the one you're using.It may be that Windows servers work well with what you have and that *nix servers don't. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
At 10:55 AM 7/13/2004, you wrote: The types of functions you are describing need not be client based. You could do this by just selecting an area of an image (a fairly easy dhtml or flash function), then submitting the results to the server with the imagename, function and select area. Most of the cf image tags can handle the crop or resize. Then return the result back to the browser, along with a restore button, and even a history list of steps taken from the original image. That's all I need to do, really.Might be fairly easy for you, but I have no idea how to do that in either dhtml or Flash.:) -- Phillip Beazley Onvix -- Website Hosting, Development E-commerce Visit http://www.onvix.com/ or call 727-578-9600. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry
On Jul 13, 2004, at 6:29 AM, Dave F wrote: hot button moot is a tricky one. It seems to have more-or-less antonymous meanings depending upon which side of the pond you're on. (Damn!, ended a sentence with a prep.) /hot button Obviously, the correct form is: ...depending upon on which side of the pond you're. Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
How to display coldfusion code in a text area
Hi all I want to display the following code in a textarea box of a coldfusion page: !--- some comment --- cfparam name=attributes.content type=stuct My mind has gone a blank this afternoon, I wanted to simply display the code rather than it being processed by CF would I do it in _javascript_ (split out any offending bits) ?? or is there a simpler way? Thanks in advance -- Mark Drew mailto:[EMAIL PROTECTED] blog:http://cybersonic.blogspot.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
At 10:23 AM 7/13/2004, you wrote: Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! Ektron also has one called EWebImageFX http://www.ektron.com/webimagefx.aspx I've always hated Ektron licensing though =) - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
Rick Root wrote: Boyzoid wrote: There is a very good server side solution from Alagad.Check out http://alagad.com/index.cfm/name-aic. The correct uRL is:http://alagad.com/index.cfm/name-=aic Shoot, please ignore that statement. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
Can this be moved to CF-Community? Thanks -- Michael Dinowitz http://www.houseoffusion.com For all your ColdFusion needs [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
accessible output for Powerpoint conversion
People, Just heard of a product which interests me since I am in the University community. For your users who don't want to bother with web design when converting a PPT to a webpage, there is a good product that forces a fair amount of accessibility. Here it is: http://cita.rehab.uiuc.edu/software/office/overview.html Cost about $40 (US). Think it does most MS Office stuff. George [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
https and includes part 2 ...
apologies for the muliutple postings, but I don't fully understand exactly how https(SSL) works. If I have a file in my http directory and I cfinclude a file from my secure directory ( using a relative url ) is the application still secure? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFMX 6.1 Pro - cfmail performance
Page 13 of the CFMX 6.1 Performance Brief has a comparison of CFMX 6.1 Enterprise Email performance to previous versions of CF. CFMX 6.1 Standard goes just a little faster than CF5 (which is graphed). http://www.macromedia.com/software/coldfusion/whitepapers/pdf/6_1/cfmx61_performancebrief.pdf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
The types of functions you are describing need not be client based. You could do this by just selecting an area of an image (a fairly easy dhtml or flash function), then submitting the results to the server with the imagename, function and select area. Yes, this is exactly what we do. We have a DHTML front end which allows you to select an area of the image, which talks to a JSP back end which uses java classes to do the heavy lifting. Works beautifully - gives the server a lot of work though. Nick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Coldfusion Web Image Editor
I have recently developed a similar web based image manipulation module for one of my client which uses DHTML on client side along with using cf_magictag on server side. It gives a basic functionality of cropping and reducing the size of image. Here are few of the reference links. Let me know if you need any additional information 1. http://circle.ch/blog/p1388.html 2. http://www.alagad.com/index.cfm/name-mtinfo I had to use cf_magictag since my client was still using CF5, otherwise for MX you can take advantage of underlying JIA (Java Image API) Qasim Rasheed -Original Message- From: Phillip Beazley [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 11:06 AM To: CF-Talk Subject: Re: Coldfusion Web Image Editor At 10:55 AM 7/13/2004, you wrote: The types of functions you are describing need not be client based. You could do this by just selecting an area of an image (a fairly easy dhtml or flash function), then submitting the results to the server with the imagename, function and select area. Most of the cf image tags can handle the crop or resize. Then return the result back to the browser, along with a restore button, and even a history list of steps taken from the original image. That's all I need to do, really.Might be fairly easy for you, but I have no idea how to do that in either dhtml or Flash.:) -- Phillip Beazley Onvix -- Website Hosting, Development E-commerce Visit http://www.onvix.com/ or call 727-578-9600. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Coldfusion Web Image Editor
Doest anyone know of a image editor that can be used in a webpage, preferably not a java applet etc. It does not have to be the photoshop of web browsers, but resize, crop etc would be great. The cheapest, or free would be best like always! Thanks in advance. Ryan I have recently developed a similar web based image manipulation module for one of my client which uses DHTML on client side along with using cf_magictag on server side. It gives a basic functionality of cropping and reducing the size of image. Here are few of the reference links. Let me know if you need any additional information 1. http://circle.ch/blog/p1388.html 2. http://www.alagad.com/index.cfm/name-mtinfo I had to use cf_magictag since my client was still using CF5, otherwise for MX you can take advantage of underlying JIA (Java Image API) Qasim Rasheed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Linux OS authentication
Christopher Farino wrote: I need to create a connection between ColdFusion and an LDAP server.Our Unix administrator has set up Linux to authenticate with the LDAP server and wants ColdFusion to authenticate with the LDAP server through the OS and not directly from the LDAP server.Does that make any sense? The question makes sense. I'm not so sure about the position of your Unix admin :-) If you just need to authenticate users, it might be easier to tie your Apache directly into PAM using the auth-pam module. That is pretty much the equivalent of the way WIndows Authentication works with domain accounts and IIS. If you need to retrieve details like the groupname from the user, you will have to write something to interface directly with PAM. Have you checked the Developers Exchange? Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Help
What has he done.Some more information or a website would be nice. -Mario -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 8:07 AM To: CF-Talk Subject: Re: Help Monique, Has he ported the rptServer.asp code to CF?If so, I'd definitely be interested. -joe - Original Message - From: Monique Boea [EMAIL PROTECTED] Date: Fri, 9 Jul 2004 14:08:40 -0400 Subject: Help To: CF-Talk [EMAIL PROTECTED] Hey All, First, I'm posting this for a friend, so my knowledge is a bit limited. My colleague is trying to gauge how much interest there is in a ColdFusion and Crystal Enterprise Integration widget/web service/consulting. What he's explained is, that if you can do it in ePortfolio or the Crystal Management Console, it can be seamlessly integrated into your ColdFusion apps. No need for ASP or CSP. He also claims to be able to do this from CF4+ integrating with CE8+. I believe he is also working on a FuseBox implementation as well. I've gotten some tips from him on one of the projects I'm currently working on so I am completely confident in his ability to do what he claims. Is there anyone needing/wanting these functions/capabilities? Thanks in advance for the responses. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: I have a new email address! [no more flames please.]
At 08:09 AM 7/12/2004, you wrote: [EMAIL PROTECTED] wrote: Hey, You know who this is, ha ha if you emailed me then you must be dumb, because i got a new email address.Dont worry if I dont like you I already blocked your ip from my email list, blocked your address from my email address, but if you get this then I must like you.I got a new address. [EMAIL PROTECTED] What a numbskull.No wonder Life sucks dont it, im back and im staying, I got layed off my job so Im looking for another one, but enough of the flames folksLets not reduce the list to his level, no matter how hillarious he is. ;) What a douche bag! Incorrect spelling on a business web site? Nice. This kid was born in 1979, what would you expect? -- True [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: IIS considers blah.com directories to be executable?
On Jul 9, 2004, at 7:28 PM, Dave Watts wrote: I think I'll be able to come up with some good reasons, e.g. we wouldn't have been hacked in April if we weren't using IIS (!). If you were hacked in April, it might have been because you didn't configure IIS properly, not just because you were using IIS. We were hacked because of a vulnerability that wasn't patched until the day _after_ we were hacked.Of course we didn't discover it for a while... -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 Nothing endures but change. - Heraclitus [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Linux OS authentication
His position is that he doesn't want to duplicate all the work he did to get Linux to authenticate from LDAP and that if something more complicated is done at the OS level CF will benefit from it. I found 2 custom tags that authenticate Linux users on the CF server, but they're not available for download.What is PAM? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file upload validation
Does anyone have a JS script that will determine the length of file name for a file upload process? This is only for the document name, not the complete path and filename, so document.forms[0].fileupload.value will not work. just trying to find a script to determine the length of file name only prior to upload. TIA! Well you have to start with that value... if you're willing to resort to regular expressions in _javascript_, it should be reasonably easy to get the file name from that point... filename = document.forms.myform.fileupload.value; filename = filename.replace(/^.*(\\|\/)(.*)$/,$2); or something to that effect. hth s. isaac dealey954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477DE=1 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: I have a new email address! [no more flames please.]
Hey now, I was born in 1979, and I'd like to consider myself a productive member of our little CF community. -joe - Original Message - From: Alexander Sherwood [EMAIL PROTECTED] Date: Mon, 12 Jul 2004 09:30:56 -0400 Subject: Re: I have a new email address! [no more flames please.] To: CF-Talk [EMAIL PROTECTED] At 08:09 AM 7/12/2004, you wrote: [EMAIL PROTECTED] wrote: Hey, You know who this is, ha ha if you emailed me then you must be dumb, because i got a new email address.Dont worry if I dont like you I already blocked your ip from my email list, blocked your address from my email address, but if you get this then I must like you.I got a new address. [EMAIL PROTECTED] What a numbskull.No wonder Life sucks dont it, im back and im staying, I got layed off my job so Im looking for another one, but enough of the flames folksLets not reduce the list to his level, no matter how hillarious he is. ;) What a douche bag! Incorrect spelling on a business web site? Nice. This kid was born in 1979, what would you expect? -- True [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: IIS considers blah.com directories to be executable?
Damien McKenna wrote: On Jul 9, 2004, at 7:28 PM, Dave Watts wrote: I think I'll be able to come up with some good reasons, e.g. we wouldn't have been hacked in April if we weren't using IIS (!). If you were hacked in April, it might have been because you didn't configure IIS properly, not just because you were using IIS. We were hacked because of a vulnerability that wasn't patched until the day _after_ we were hacked. You were hacked through the SSL exploits before te patch came out? Of course we didn't discover it for a while... How did you trace it back to a particular exploit? If you didn't discover it for a while, they had quite a while to cover their tracks. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Linux OS authentication
Christopher Farino wrote: His position is that he doesn't want to duplicate all the work he did to get Linux to authenticate from LDAP and that if something more complicated is done at the OS level CF will benefit from it. But is something more complicated done at the OS level? And do you need just authentication, or do you want to look up details about the user based on their username. I found 2 custom tags that authenticate Linux users on the CF server, but they're not available for download.What is PAM? Pluggable Authentication Module. See man pam. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]