Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread Matthew Walker
Aside from this UDF issue, it's worth noting that if you use a /> at the end of your custom tag call, the code will run twice, which could be bad if you're writing code that hanndles money, but is always going to make your code twice as slow whatever the circumstance. What you can do if you want i

Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread Taco Fleur
Any idea why it runs twice when you terminate it with a forward slash? So you can't make your ocde xml compliant in CF5? - Original Message - From: "Matthew Walker" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 6:46 PM Subject: Re: Routines cannot

Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread John Quarto-vonTivadar
because that is shorthand for a matched ending tag that can have text inside it is the equivalent of This is standard and common , esp for the XML and XHTML people out there. That means that unless you've wrapped your custom tag's code with logic to catch when the execution mode is "start" v

Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread Matthew Walker
> you likely want to use something like: > > > ...etc to restrict the execution to only occuring once BTW this is particularly handy if you want to nest calls to custom tags e.g. but are using cfmodule to call the tag. As all closing cfmodules look the same, the inner tags need to be close

Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread Matthew Walker
Well you can't write or . Why would you want to make your CFML XML compliant? - Original Message - From: "Taco Fleur" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 10:48 PM Subject: Re: Routines cannot be declared more than once. UDF ??? > Any ide

Form validation

2003-02-23 Thread Murat Demirci
Hi folk, I need to validate all fields of a membership form in my huge CFMX app. But I don't have enough information about the reliable way. I have searched the web but found no reliable and full (advanced level) information. Is there a guide, a sample or an article to help me? What are

Re: Form validation

2003-02-23 Thread Bruce Sorge
There is something out there called FusionScript. It is supposed to allow you to validate nearly every field type, and it is ColdFusion based. You can download it at www.fusionscript.com. The current version that is out there is free. The next version you may have to pay for, Nate has not totally d

RE: Form validation

2003-02-23 Thread Murat Demirci
Is it secure? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 5:08 PM To: CF-Talk Subject: Re: Form validation There is something out there called FusionScript. It is supposed to allow you to validate nearly every field type, and it is ColdF

Re: Form validation

2003-02-23 Thread Bruce Sorge
What do you mean? You mean, does it jack with the OS or files on the system? It does not. Check out the site, read the docs and you will get a good idea what it is and what it does. - Original Message - From: "Murat Demirci" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday

Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread S . Isaac Dealey
Theoretically if the cfml language had a complete xsd it could be validated against, you could use the new xml functions in CF MX to parse cfml templates to examine them for various conditions or to get certain information out of them. I could see potentially automatic diagramming of the flow cont

Re: Form validation

2003-02-23 Thread S . Isaac Dealey
FusionScript is designed to allow you to use reasonably simple ColdFusion tags (custom tags) to create client-side JavaScript code essentially using the same syntax you use for the rest of your ColdFusion code. I haven't used it personally because of it's use of custom tags and my still trying to s

RE: Form validation

2003-02-23 Thread Murat Demirci
It's known that hackers are trying to post malformed information to the server gaining an idea through the forms in a site. So form validation is an important issue. I know the FusionScript a little, it is a rich tool. But I'm not sure that it's security, has no bug. It doesn't guarantee this, does

RE: Form validation

2003-02-23 Thread Jochem van Dieten
Quoting Murat Demirci <[EMAIL PROTECTED]>: > > I know the FusionScript a little, it is a rich tool. But I'm not sure > that it's security, has no bug. All software is either trivial or has bugs. Jochem ~| Archives: http://www.ho

RE: Form validation

2003-02-23 Thread Murat Demirci
You are right. Wait for another mail from me. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 6:42 PM To: CF-Talk Subject: RE: Form validation Quoting Murat Demirci <[EMAIL PROTECTED]>: > > I know the FusionScript a little, it is a r

RE: Form validation

2003-02-23 Thread Murat Demirci
I prefer to start validation at server, and than do Javascript equivalent. But I need reliable UDFs or Custom Tags, OR I can code all of them, but I need a guide that shows me what is a valid e-mail address and what is not. Client-side solutions are user friendly but not powerful. And security is

RE: Form validation

2003-02-23 Thread Murat Demirci
Maybe combining the FusionScript or the qForms with some server-side codes is the best way? You know client-side solutions isn't secure, they are easily breakable. Any more suggestions? -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 6:50

RE: Form validation

2003-02-23 Thread S . Isaac Dealey
For email I believe there's an isemail() UDF on www.cflib.org -- email validation is becoming less and less feasable with time tho... Have you tried http://devex.macromedia.com for server-side validation tools? > I prefer to start validation at server, and than do > Javascript > equivalent. But I

server tuning

2003-02-23 Thread lists
There are several settings for CF5 in the cf administrator that greatly affect performance and I'm curious what others' experiences have been. Obviously everyone's hardware and software are different, but I think to hear what others have found will be illuminating. My settings are for a cluster

unexpeted result with cfqueryparam

2003-02-23 Thread dhess
This behavior isn't a bug, although I can't explain why your code works in CF 5. CF's normal behavior is to escape a single quote contained in a SQL string value by doubling it. This is true whether you use the Trim() function or not. So you'll want to use PreserveSingleQuotes() to prevent CF f

Re: Java scriptlets on CFMX

2003-02-23 Thread Christian Cantrell
> However, it wouldn't hurt to 'vote' for easier Java integration using > the wish form on mm.com (the URL of which escapes me, since I'm on > BART, but is posted here fairly regularly). I agree it would be interesting to explore. The URL to the wish form is below: http://www.macromedia.com/sup

Re: Form validation

2003-02-23 Thread Matthew Walker
Apologies for the shameless promotion but there's also TerraForm, which handles server side validation. All the validating code is set up in UDFs so you can read and modify it. If you want client-side, it also integrates with qForms, generating qForms client side validation commands automatically.

Re: Form validation

2003-02-23 Thread Matthew Walker
Check out hexvalidemail from hexilion. It provides email validation by looking up the hostname. The docs are ASP oriented but it's actually very easy to set up. - Original Message - From: "Murat Demirci" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003

Re: Routines cannot be declared more than once. UDF ???

2003-02-23 Thread Christian Cantrell
On Sunday, February 23, 2003, at 04:48 AM, Taco Fleur wrote: > Any idea why it runs twice when you terminate it with a forward slash? > So you can't make your ocde xml compliant in CF5? It is so that you can detect the execution of the beginning of the tag and the end of the tag using code like

Re: unexpeted result with cfqueryparam

2003-02-23 Thread E. Keith Dodd
I didn't figure it was a bug, just couldn't see the reason for the behavior. What still doesn't seem to make sense is that using the trim() in the cfqueryparam value does add an additional apostrophe, but not using trim() doesn't. (In MX, at least.) I've used preserveSingleQuotes so doesn't escape

Re: Form validation

2003-02-23 Thread Jann VanOver
I haven't used it, but Pengoworks qForms is always highly recommended on this list. http://www.pengoworks.com/index.cfm?action=qForms On 2/23/03 8:50 AM, "Murat Demirci" <[EMAIL PROTECTED]> wrote: > I prefer to start validation at server, and than do Javascript > equivalent. But I need reliable

Re: Iif() and StructKeyExist()

2003-02-23 Thread Jann VanOver
On 2/20/03 1:17 PM, "Aidan Whitehall" <[EMAIL PROTECTED]> wrote: > I've got an array of structures and am looping through them and writing > several queries on the fly. However, I can't hit on just the right > combination of quotation marks to stop it throwing an error. > > Does anyone know how t

Re: unexpeted result with cfqueryparam

2003-02-23 Thread Jochem van Dieten
Quoting [EMAIL PROTECTED], "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > > This behavior isn't a bug, although I can't explain why your code works in CF 5. I would disagree. I think it is a bug. > CF's normal behavior is to escape a single quote contained in a SQL string > value by doubling it. Th

Re: Where to purchase CF 5

2003-02-23 Thread Sean A Corfield
On Saturday, Feb 22, 2003, at 20:19 US/Pacific, Joe Tartaglia wrote: > Does anyone have any ideas on where I can > purchase a legal copy of CF Server 5 for > Windows? Try Macromedia - see my blog: http://www.corfield.org/blog/archives/2002_10.html#000132 Sean A Corfield -- http://www.corf

POST Failing from CF Server

2003-02-23 Thread Bud
Hi all. This is probably not CF related (but may be) but I'm hoping someone here has experienced something similar. About every 2 days or so, all POSTS from the web server will fail, and occasionally it seems as though all outgoing TCP/IP connections will fail. This is a recent phenomenon and I

CFDIRECTORY query

2003-02-23 Thread Parker, Kevin
(Resent due to CF_Talk problems a few days ago - apologies if anyone has already got it) I've got this cute little app that uses CFDIRECTORY. When I run it at work on my CF5 dev box datelastmodified is returned as a date object and I can manipulate it with DateFormat and TimeFormat. When I run th

Encryption software

2003-02-23 Thread Kay Smoljak
Depends what you are trying to encrypt... and for what purpose. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: h

RE: Where to purchase CF 5

2003-02-23 Thread Tilbrook, Peter
Heh, I won a copy of CFMX Pro at the MXDU conference (which was excellent by the way). == Peter Tilbrook Internet Applications Developer Australian Building Codes Board GPO Box 9839 CANBERRA ACT 2601 AUSTRALIA WWW: http://www.abcb.gov.au/ E-Mail: [EMAIL PROTECTED] Telephone: +61 (02) 621

RE: CFDIRECTORY query

2003-02-23 Thread CFDEV
Not sure how the server is setup but try using LSParseDate or something like that. -Original Message- From: Parker, Kevin [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 8:10 PM To: CF-Talk Subject: CFDIRECTORY query (Resent due to CF_Talk problems a few days ago - apologies if

Re: CFDIRECTORY query

2003-02-23 Thread S . Isaac Dealey
May be a bug -- have you tried #dateformat("13 February, 2003 9:23:55 AM CST")# on the CF 5 machine at work? > (Resent due to CF_Talk problems a few days ago - apologies > if anyone has > already got it) > I've got this cute little app that uses CFDIRECTORY. When > I run it at work > on my CF5 d

Experthost error & they will not respond

2003-02-23 Thread Tracy Bost
Nothing has changed and all of a sudden one of my clients is getting an error on their website at experthost on a shared server... Here's the error for ColdFusion query: No datasource named "theusedtobedatasource" is configured in jrun-resources.xml ... Here's the error for ASP query:

RE: Experthost error & they will not respond

2003-02-23 Thread Tony Weeg
sorry to say tracy, i am using experthost, right now, and am not having this issue, what sql server is your domain being hosted on? im on sql8 have you tried calling them, whenever i have aproblem i call them and get through fine :) tonyxs -Original Message- From: Tracy Bost [mailto:[EM

RE: Experthost error & they will not respond

2003-02-23 Thread Russ
Yeah-- This happened to me (not the exact issue) about 3 months ago. Most people rave about them, but it was my experience that they had cycled in some new people who perhaps weren't as experienced. They never did anything to correct the situation (with the employees) nor did they do anything to

Re: Experthost error & they will not respond

2003-02-23 Thread Bruce Sorge
I had this same problem months ago. I finally got so friggin frustrated with not only their lack of technical expertise, their unwillingness to respond to numerous emails until I literally threatened to discontinue service with them, and poor up-times, I finally went out and leased a Dell server an

RE: Experthost error & they will not respond

2003-02-23 Thread Tracy Bost
Thanks for the response. I don't think its the database server(sql4) because I can access it with EM.. I think they have done something with the actual web server... Something similiar did happen a couple of months ago but they fixed it fairly quick.. But this has been going on since this morni

RE: CFDIRECTORY query

2003-02-23 Thread Parker, Kevin
Thanks Isaac - at work it gets returned as a date object and using DateFormat and TimeFormat works OK - MX at home returns it as 13 February, 2003 9:23:55 AM CST. At home (MX) the code is "DateFormat(datelastmodfied, "DD/MM/") but this crashes out whereas in CF5 it doesn't. In CF5 its getting r

ExpertHost pros/cons (was RE: Experthost error & they will not respond)

2003-02-23 Thread Tony Weeg
wow. not a good feeling. i just signed up with a reseller account and have 9 domains now thereGREAT! i havent had a single problem, YET, heh, anyone else care to berate or sing their praises yeah its off topic, but its sunday night, monday morn for some, but i gotta know...email me back

RE: CFDIRECTORY query

2003-02-23 Thread S . Isaac Dealey
Well -- that's the point of testing on cf 5 the format provided from the use of cfdirectory on mx... That's what I meant by trying #dateformat("13 February, 2003 9:23:55 AM CST")# (the literal string, not the cfdirectory result) on the CF 5 machine -- it might be that the CF 5 server recognizes thi

OT: IBM/Informix Object DB's

2003-02-23 Thread Joe Eugene
I was wondering if anyone has worked with IBM U2 and RedBack(Middle tier?) products. Would like to know how these products work and their advantages etc. Thanks Joe Eugne ~| Archives: http://www.houseoffusion.com/cf_lists/index.c

cfscript object array reference

2003-02-23 Thread Taco Fleur
objXMLHTTP = createObject("COM", "Microsoft.XMLHTTP"); The code below creates an array and assigns it to the variable "objURL" if I am correct objURL = objXMLDOM.getElementsByTagName("url"); However I can't seem to refence to it, neither with objURL(i).text); nor with objURL[i].text); Any ideas

RE: cfscript object array reference

2003-02-23 Thread Joe Eugene
> objURL = objXMLDOM.getElementsByTagName("url"); What is objURL in CF.. i mean type of variable? You might want to dump it.. if its just an array.. all you need objURL[i] .. Am not sure what your code objURL[i].text is for? Are u trying to parse an xmlDoc.. then its different objURL[i].xmlText

Re: cfscript object array reference

2003-02-23 Thread Taco Fleur
Forgot about cfdump, will give it a try... > Am not sure what your code objURL[i].text is for? > Are u trying to parse an xmlDoc.. then its different > objURL[i].xmlText; Following is what I am trying to achieve... objXMLHTTP = createObject("COM", "Microsoft.XMLHTTP"); objXMLDOM = createObject("

Re: cfscript object array reference

2003-02-23 Thread Taco Fleur
can't cfdump COM objects ;(( - Original Message - From: "Joe Eugene" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 3:21 PM Subject: RE: cfscript object array reference > > objURL = objXMLDOM.getElementsByTagName("url"); > > What is objURL in CF..

Re: OT: JavaScript: using Submit()

2003-02-23 Thread Jann VanOver
On 2/19/03 9:21 PM, "Kwang Suh" <[EMAIL PROTECTED]> wrote: >> Onclick expects javascript already. > > Actually, this isn't always the case. In IE, if your page has a VBScript as > the last script in the head, then IE will interpret everything after that as > VBScript. Since I use both VBScript

Re: unexpeted result with cfqueryparam

2003-02-23 Thread Dina Hess
> But not when using cfqueryparam. Using cfqueryparam is meant to call the > functionality of the database driver to do the escaping. Any escaping done by CF > before that will only result in doubling the quotes twice, and therefore CF > should do no escaping whatsoever of any value passed through

[OT] CSS Question

2003-02-23 Thread Taco Fleur
Anyone know how to get rid of that inner border line that appears on a submit button when it is active?? Or even change the color? Or is this a stupid question? ;-) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?f

Re: unexpeted result with cfqueryparam

2003-02-23 Thread Dina Hess
> What still doesn't seem to make sense is that using the trim() in the > cfqueryparam value does add an additional apostrophe, but not using trim() > doesn't. Hmmmcould've sworn I tested this before but...I just tested and, sure enough, foo becomes abc's again...just what we want. So...I gue