Random frustration at a simple problem
Hello all. I've been using for the last couple of months, an automatic error reporting feature. Basically, when the onerror method is raised in application cfc, I cfdump all the variables to cfcontent, check to see if the same error has previously been generated, and if not, insert it into a database as a new trouble ticket. It's been working great to help me identify bugs in the application, so I decided to add a function where the user would be presented with a form and they could tell me what they were doing when the error was raised. Of course its the simple things that kill you. Here's the relevant code: !--- Error is captured and trouble ticket created --- blah blah a bunch of code here. This part works just fine. !--- Present the user with the form --- h3Oops!/h3 pYour last request generated an error. Our system administrators have been notified and we'll work to correct the problem as soon as possible./p pYou can help us by telling us exactly what you were doing when the error appeared:/p form method=post action=/index.cfm?page=submiterrorticketid=#getticket.ticketid# id=frmSubmitError name=frmSubmitError textarea name=description cols=80 rows=8/textarea input type=submit name=Submit value=Submit /form For whatever reason, the form is not actually posting anything. When you hit submit, a cfdump of the form scope shows nothing at all. What am I doing wrong? I'm sure its something very simple, but I'm at a loss. Charles Sheehan-Miles Associate Director Veterans for America http://www.veteransforamerica.org ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259401 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
image security on forms.
Hi, You know the kind of thing, where an image with text and numbers is generated and you have to enter what it says to submit the form (what is this called?) Anyone recommend something like this that plays nicely with CFMX 7? Thanks Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259402 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: image security on forms.
Captcha This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Will Swain To: CF-Talk Sent: Tue Nov 07 10:43:04 2006 Subject: image security on forms. Hi, You know the kind of thing, where an image with text and numbers is generated and you have to enter what it says to submit the form (what is this called?) Anyone recommend something like this that plays nicely with CFMX 7? Thanks Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259403 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Random frustration at a simple problem
On Tuesday 07 November 2006 10:40, Charles Sheehan-MIles wrote: action=/index.cfm?page=submiterrorticketid=#getticket.ticketid# hit submit, a cfdump of the form scope shows nothing at all. What am I I've seen this when missing URL parameters with form fields. What happens if you GET the form rather than POST, or use hidden form fields rather than the URL for page and ticketid ? -- Tom Chiverton Helping to revolutionarily network value-added developments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259404 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: image security on forms.
That's the chappie. Thanks. Will -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 10:43 To: CF-Talk Subject: Re: image security on forms. Captcha This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Will Swain To: CF-Talk Sent: Tue Nov 07 10:43:04 2006 Subject: image security on forms. Hi, You know the kind of thing, where an image with text and numbers is generated and you have to enter what it says to submit the form (what is this called?) Anyone recommend something like this that plays nicely with CFMX 7? Thanks Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259405 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Head Banging Access LIKE error in QoQ
OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259406 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Head Banging Access LIKE error in QoQ
Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259407 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cftry inside of cftransaction ??
Figured someone would know and answer quicker than me testing this. Can you wrap a query with cftry inside a cftransaction? Thanks, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259408 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: image security on forms.
http://acoderslife.com/downloads/bhcaptcha/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 5:43 AM To: CF-Talk Subject: image security on forms. Hi, You know the kind of thing, where an image with text and numbers is generated and you have to enter what it says to submit the form (what is this called?) Anyone recommend something like this that plays nicely with CFMX 7? Thanks Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259409 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Head Banging Access LIKE error in QoQ
That's strange... the syntax works ok for me if phototag is a valid column and there are records in request.photolist then it is a bit of a weird one...not much help I know but just letting you know the syntax works here On 11/7/06, Katz, Dov B (IT) [EMAIL PROTECTED] wrote: Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259410 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Head Banging Access LIKE error in QoQ
Well, in this case, I think it is giving the error based on an unsuccesful search of the dataset. The null pointer is simply saying there is 0 records that match your search term. So say your search term is foo and the record in the previous query is foo, what do you get? Doug B. Doug - Original Message - From: Tom King [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 5:30 AM Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259411 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Head Banging Access LIKE error in QoQ
That's closer I think: I DO have empty fields interspersed with populated fields in the column.. Just need to get the syntax right now.. T -Original message- From: Katz, Dov B \(IT\) [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 12:44:19 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259412 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfmail and cfoutput
Simple solution. Use CFSAVECONTENT to save your desired email body to a variable, then have the body of the email just be the variable, i.e.: cfmail ...#myVar#/cfmail I pretty much do this as standard anymore, as it gives me more control over cfmail output. Pete ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259413 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: hash() encryption
Sixten Otto wrote: the default mode of the Hash() function is a CFMX compatibility mode that uses who knows what algorithm. It's also possible that to duplicate the value PHP produces, one might need to specify the encoding to Hash(), as well. According to livedocs, the default is MD5 in CFMX 7. Also on livedocs, according to the CFMX 6.1 docs, the Hash function uses the MD5 algorithm. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259414 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMX 6.1 and Java 1.5
Dave Hatz wrote: Nic, Do you know if Adobe has any time frame on getting 7.02 1.5 compatible? I can say with near certainty that Adobe will *NEVER* support CFMX 7 (or earlier) on JVM 1.5 CFMX 8 though is alleged to be running on the 1.5 JVM. Ric ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259415 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: sort algorithm
Rich, Here is what I came up with: http://www.bennadel.com/blog/387-Sorting-ColdFusion-Arrays-With-Sortable -Interfaces.htm - Or (shorter URL) - http://bennadel.com/index.cfm?dax=blog:387.view What you have to do is start with the base component AbstractSortable.cfc and just extend it with your own component that will mostly likely have only one method in it. The code is a bit hard to read, I suggest using the Launch code in new window link provided at the top of every code block. Take a look and let me know if you have any questions. I think this is going to be the most flexible solution to your problem. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 5:08 PM To: CF-Talk Subject: Re: sort algorithm thanks ben, i would appreciate any help at all as i am really stuck :( thanks again, really appreciate it ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259416 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: hash() encryption
On Tuesday 07 November 2006 13:11, Rick Root wrote: the default mode of the Hash() function is a CFMX compatibility mode that uses who knows what algorithm. It's also possible that to duplicate the value PHP produces, one might need to specify the encoding to Hash(), as well. According to livedocs, the default is MD5 in CFMX 7. Also on livedocs, according to the CFMX 6.1 docs, the Hash function uses the MD5 algorithm. Aye, it's encrypt() that mucks about. -- Tom Chiverton Helping to professionally seize high-end e-business This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259419 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfmail and cfoutput
A number of replies - thank you. I just picked this one for no particular reason to respond. cfmail... Verbiage... [Here I want to tell the person all the various things they selected as traits (for lack of a better word). These come from a one (their name data) to many (traits) recordset, so there might be one record to include, might be ten.] cfoutput query... #fields...# /cfoutput /cfmail From the responses I've read cfmail must translate to a cfoutput so I can't nest the query output. I'll try cfloop instead. Thanks. On 11/6/06, Stephens, Larry V [EMAIL PROTECTED] wrote: Trying to send a message by cfmail that includes a list of positions I retrieved using a query. When I put cfoutput query... inside the cfmail tags I get a nested output error. If that's happening you can call the fields directly in your email using the following. #queryname.fieldname# No need for the cfoutput here because there is a set of these tags on the page. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259418 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Head Banging Access LIKE error in QoQ
Tom, I think that is definitely the case. Check out this blog post: http://www.bennadel.com/index.cfm?dax=blog:144.view I have found that ColdFusion query of queries throws errors on NULL fields when using LIKE, UPPER(), and LOWER(). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:07 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ That's closer I think: I DO have empty fields interspersed with populated fields in the column.. Just need to get the syntax right now.. T -Original message- From: Katz, Dov B \(IT\) [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 12:44:19 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259417 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Head Banging Access LIKE error in QoQ
Could you have a WHERE clause in your previos query for the NULL values? WHERE phototag IS NOT NULL? Or would that screw up other things? - Original Message - From: Tom King [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 6:06 AM Subject: RE: Head Banging Access LIKE error in QoQ That's closer I think: I DO have empty fields interspersed with populated fields in the column.. Just need to get the syntax right now.. T -Original message- From: Katz, Dov B \(IT\) [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 12:44:19 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259420 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Head Banging Access LIKE error in QoQ
Agh! that's it in a nutshell.. :( Oh for a solution*sigh* T -Original message- From: Ben Nadel [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 13:21:22 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Tom, I think that is definitely the case. Check out this blog post: http://www.bennadel.com/index.cfm?dax=blog:144.view I have found that ColdFusion query of queries throws errors on NULL fields when using LIKE, UPPER(), and LOWER(). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:07 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ That's closer I think: I DO have empty fields interspersed with populated fields in the column.. Just need to get the syntax right now.. T -Original message- From: Katz, Dov B \(IT\) [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 12:44:19 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259421 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cftry inside of cftransaction ??
Figured someone would know and answer quicker than me testing this. Can you wrap a query with cftry inside a cftransaction? Thanks, Will I do this all the time in my CFCs... cftransaction cftry cfquery !--- Query here --- /cfquery cfquery !--- Another query here --- /cfquery cfcatch type=database cftransaction action=rollback / cfreturn false / /cfcatch !--- If no database errors caught, commit transaction --- cftransaction action=commit / /cftransaction ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259422 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Head Banging Access LIKE error in QoQ
Tom, I am pretty sure that Query of queries using short circuit evaluation. This should allow you to test for NULL before actually performing the LIKE evaluation: WHERE AND ( A IS NOT NULL AND A LIKE '%foo%' ) If A IS NULL then the first part of the AND statement should fail and the rest should not be fired. The LIKE clause should only every be evaluated if the first part is also true (A IS NOT NULL). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:25 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ Agh! that's it in a nutshell.. :( Oh for a solution*sigh* T -Original message- From: Ben Nadel [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 13:21:22 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Tom, I think that is definitely the case. Check out this blog post: http://www.bennadel.com/index.cfm?dax=blog:144.view I have found that ColdFusion query of queries throws errors on NULL fields when using LIKE, UPPER(), and LOWER(). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:07 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ That's closer I think: I DO have empty fields interspersed with populated fields in the column.. Just need to get the syntax right now.. T -Original message- From: Katz, Dov B \(IT\) [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 12:44:19 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259423 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Online Help
I use RoboHelp, as buggy as it is. They have a new version due at somepoint since they put out a request for beta testers. Wish I knew more, but that is all I have. -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 5:49 PM To: CF-Talk Subject: Online Help What are folks using/recommeding for online help documentation for web apps? Robohelp? Others? I'd like some ability to integrate with CF (conditional logic) and maybe some flash generation, but not mandatory. Thanks, Mark ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Head Banging Access LIKE error in QoQ
Yay!!! For reference, my SQL now reads: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE ( PhotoTag IS NOT NULL AND PhotoTag LIKE '%#trim(variables.thistag)#%' ); /cfquery Thanks y'all T -Original message- From: Ben Nadel [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 13:30:39 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Tom, I am pretty sure that Query of queries using short circuit evaluation. This should allow you to test for NULL before actually performing the LIKE evaluation: WHERE AND ( A IS NOT NULL AND A LIKE '%foo%' ) If A IS NULL then the first part of the AND statement should fail and the rest should not be fired. The LIKE clause should only every be evaluated if the first part is also true (A IS NOT NULL). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:25 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ Agh! that's it in a nutshell.. :( Oh for a solution*sigh* T -Original message- From: Ben Nadel [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 13:21:22 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Tom, I think that is definitely the case. Check out this blog post: http://www.bennadel.com/index.cfm?dax=blog:144.view I have found that ColdFusion query of queries throws errors on NULL fields when using LIKE, UPPER(), and LOWER(). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:07 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ That's closer I think: I DO have empty fields interspersed with populated fields in the column.. Just need to get the syntax right now.. T -Original message- From: Katz, Dov B \(IT\) [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 12:44:19 + To: CF-Talk cf-talk@houseoffusion.com Subject: RE: Head Banging Access LIKE error in QoQ Just a guess: You might have an empty phototag value somewhere Try WHERE ( phototag) LIKE %#trim(variables.thistag)#%' Or, try +phototag (not sure of syntax) Does this fix the issue? Dov -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:30 AM To: CF-Talk Subject: Head Banging Access LIKE error in QoQ OK, This have been driving me nuts... request.photolist exists, and has phototag etc fields. variables.thistag is also fine: BUT, this code: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag LIKE '%#trim(variables.thistag)#%'; /cfquery Throws this very unhelpful error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. java.lang.NullPointerException Using this works, but obvious doesn't return the same recordset, as it's looking for an exact match: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE phototag = '#variables.thistag#'; /cfquery Help??? Ta ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259425 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: sort algorithm
thnaks ben, really appreciate the help, i am going to go through your links now and will let you know how i get on :) thanks again ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259426 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: sort algorithm
thanks jim, i will also test this out and let you know what happens thanks again :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Head Banging Access LIKE error in QoQ
Any time dude, any time. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:41 AM To: CF-Talk Subject: RE: Head Banging Access LIKE error in QoQ Yay!!! For reference, my SQL now reads: cfquery dbtype=query name=GetTaggedPhotos SELECT * from request.photolist WHERE ( PhotoTag IS NOT NULL AND PhotoTag LIKE '%#trim(variables.thistag)#%' ); /cfquery Thanks y'all T ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cftry inside of cftransaction ??
We do it like this: cftransaction action=begin isolation=serializable cftry !--- [mjh] Query here: --- cfquery ... /cfquery cftransaction action=commit / cfcatch cftransaction action=rollback / cfdump var=#cfcatch# cfabort /cfcatch /cftry /cftransaction Will Tomlinson wrote: Figured someone would know and answer quicker than me testing this. Can you wrap a query with cftry inside a cftransaction? Thanks, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: hash() encryption
Rick Root wrote: According to livedocs, the default is MD5 in CFMX 7. Now that I look again, it actually designates *both* as the default (ain't that just par for the course!). But the livedocs are very clear about the existence of a 6/6.1 compatibility mode: * CFMX_COMPAT: Generates a hash string identical to that generated by ColdFusion MX and ColdFusion MX 6.1 (default). * MD5: (Default) Generates a 32-character, hexadecimal string, using the MD5 algorithm (The algorithm used in ColdFusion MX and prior releases). I'd hazard a guess that both are flavors of MD5, but that the difference between them is in how characters in the input are converted to bytes fed into the actual hashing algorithm. Especially since the encoding parameter is explicitly ignored when using CFMX_COMPAT mode. Sixten ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
excel file not accepted for upload
I have an upload button where I accept the following types of files: accept=application/msword,application/vnd.ms-excel,application/ vnd.ms-powerpoint,application/pdf It was meant to accept excel files, but it accepts some and not others. It accepts http://hhp.umd.edu/dean/notes/note_files/danielk/crid3.xls and not http://hhp.umd.edu/dean/notes/note_files/danielk/1.xls How do I get it to accept all excel files? thank you. -- Daniel Kessler College of Health and Human Performance University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259431 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
image.cfc and CAPTCHA
I've built a simple CAPTCHA generator using the latest version of image.cfc. The captcha allows the use of multiple fonts, multiple background images, randomized starting X position, and randomized Y positions. the backgrouns and fonts I've chosen for the example make the captcha kinda hard to read, but I guess that's the point. I always have a problem with ticketmaster's captcha images. Anyway, here's the link to the example: http://www.opensourcecf.com/imagecfc/captcha/index.cfm There's also a download link on that page if you'd like the source. Comments are always welcome and appreciated. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: image.cfc and CAPTCHA
I'm curious how the CAPTCHA reportedly built into Scorpio will work. ~Brad -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 10:01 AM To: CF-Talk Subject: image.cfc and CAPTCHA I've built a simple CAPTCHA generator using the latest version of image.cfc. The captcha allows the use of multiple fonts, multiple background images, randomized starting X position, and randomized Y positions. the backgrouns and fonts I've chosen for the example make the captcha kinda hard to read, but I guess that's the point. I always have a problem with ticketmaster's captcha images. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: image.cfc and CAPTCHA
Brad Wood wrote: I'm curious how the CAPTCHA reportedly built into Scorpio will work. Me too. I'm actually even more curious how much functionality adobe is going to put into their cfimage tag. image.cfc will be a thing of the past =) Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259434 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: excel file not accepted for upload
You might need all the combinations: application/excel application/vnd.ms-excel application/x-excel application/x-msexcel Check here: http://www.webmaster-toolkit.com/mime-types.shtml -Original Message- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 15:37 To: CF-Talk Subject: excel file not accepted for upload I have an upload button where I accept the following types of files: accept=application/msword,application/vnd.ms-excel,application/ vnd.ms-powerpoint,application/pdf It was meant to accept excel files, but it accepts some and not others. It accepts http://hhp.umd.edu/dean/notes/note_files/danielk/crid3.xls and not http://hhp.umd.edu/dean/notes/note_files/danielk/1.xls How do I get it to accept all excel files? thank you. -- Daniel Kessler ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259435 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: Multiple Select Boxes (JS)
I need to fill a secondary and tertiary select box depending on the condition of a primary one. For example the first will have the options... -- SELECT -- Ford Jeep The second and third will have -- Please select previous cat -- or something similar and nothing else. With an onChange() on the first this should populate the second select with... -- SELECT -- Ka Fiesta Focus If ford is selected from the fist box and leave the third unchanged. The third should then change to... -- SELECT -- 2 door 4 door For example, once the second box is changed. Ideally I want all of the data sent to the browser on the initial page load (IE: no ajax or other multiple request method), probably into an array but any implementation is fine. The actual data in the boxes will come from a DB query so the JS must be suitable for dynamic construction. Anyone have any suitable script handy? -- Jay ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259436 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Multiple Select Boxes (JS)
qForms has some online examples that could be changed around to apply to this. On 11/7/06, James Smith [EMAIL PROTECTED] wrote: I need to fill a secondary and tertiary select box depending on the condition of a primary one. For example the first will have the options... -- SELECT -- Ford Jeep The second and third will have -- Please select previous cat -- or something similar and nothing else. With an onChange() on the first this should populate the second select with... -- SELECT -- Ka Fiesta Focus If ford is selected from the fist box and leave the third unchanged. The third should then change to... -- SELECT -- 2 door 4 door For example, once the second box is changed. Ideally I want all of the data sent to the browser on the initial page load (IE: no ajax or other multiple request method), probably into an array but any implementation is fine. The actual data in the boxes will come from a DB query so the JS must be suitable for dynamic construction. Anyone have any suitable script handy? -- Jay ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259437 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: Anyone using scan alert (Hacker safe) services?
I noticed a competitor to our e-comm app uses scanalert.com. Just got off the phone with a salesman and wanted to get some input from you guys. It looks like it costs around $1900/year, or $179/month. The dude said it has a 30 day risk-free guarantee - if you don't see results, you quit and they give your money back. It looks like a LOT of bigtime e-comm sites are using their services. http://www.scanalert.com/site/en/hsp/? Anyone have any recommendations/experience with these guys? Thanks, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259438 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Anyone using scan alert (Hacker safe) services?
On Tuesday 07 November 2006 15:24, Will Tomlinson wrote: Anyone have any recommendations/experience with these guys? What happens if a hacker just changes the graphic to be a a static 'you are safe' one ? What stops people how haven't done the stuff these guy do from just using the logo anyway ? Having a security audit is a good thing, but I wouldn't say a sign saying 'we're secure' drives people one way or the other. -- Tom Chiverton Helping to administratively pursue user-centric paradigms This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: excel file not accepted for upload
You might need all the combinations: application/excel application/vnd.ms-excel application/x-excel application/x-msexcel Check here: http://www.webmaster-toolkit.com/mime-types.shtml Dang, I made your suggested adjustment and thought that would have worked. I was psyched, but recieved the error, Error: The MIME type of the uploaded file application/octet-stream was not accepted by the server.. Here's the adjusted 'accept': accept=application/msword,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel,application/vnd.ms-powerpoint,application/pdf ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259440 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Access insert runs fine locally, fails on server
Hi, I have an insert query that runs perfectly on my development server, but fails with a syntax error when run on a client's site (shared hosting). The database is Access (I know, I know -- not my idea), and I've confirmed over and over again that the local and remote copies of the database are identical. Here's the query: cfquery name=test datasource=#dsn# INSERT INTO orders (OrderNumber, CustomerID, CrtItemID, CrtProductID, CrtProductName, CrtPrice, CrtQuantity, QuotedShipping, FiguredTax, OrderStatus, DateOfOrder, PaymentMethod, OrderCompleted, ShippingMethod, DiscountAmount, OrderTotal, ShippedTo, memo, TrackingNumber, CrtType, CrtApproved, FraudFlag, FraudReason, VisitorIP, downloads, paid) VALUES ('11070609310342', 3, '6', 'SCSticker', 'Silver Comet Sticker', '9', '3', '0', '0.72', 'Received', '2006-11-07', 'CreditCard', 'No', 'N/A', '0', '9.72', 'Tom McNeerbr br 1735 Johnson Road NE br Atlanta, GA 30306brUS', '', '0', 'Normal', 'No', '', '', 'N/A', '0^0', 'no') /cfquery This inserts a record properly when run on my dev server. When run on the remote server, CF reports a syntax error in the SQL. Both SELECT and INSERT queries have been run against the same database. SELECTs run fine against this table. Only the above INSERT seems to fail, and only on the remote server. This is very weird. Has anyone ever seen anything like this? -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259441 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT: Anyone using scan alert (Hacker safe) services?
I agree. Plus unless you're saving Credit card data and run on a poorly configured server, SSL pretty well keeps you covered as long as you make sure your application is solid. The biggest threat to online consumers is there own machines and how well they maintain and secure them. Cheers, !k -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 10:41 AM To: CF-Talk Subject: Re: OT: Anyone using scan alert (Hacker safe) services? On Tuesday 07 November 2006 15:24, Will Tomlinson wrote: Anyone have any recommendations/experience with these guys? What happens if a hacker just changes the graphic to be a a static 'you are safe' one ? What stops people how haven't done the stuff these guy do from just using the logo anyway ? Having a security audit is a good thing, but I wouldn't say a sign saying 'we're secure' drives people one way or the other. -- Tom Chiverton Helping to administratively pursue user-centric paradigms This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259442 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cleaning XML - Unicode 0x0
Yup, that's the first thing I tried...when it didn't work I posted here hoping for further guidance. -- Josh - Original Message - From: Rob Wilkerson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, November 06, 2006 6:28 PM Subject: Re: Cleaning XML - Unicode 0x0 That should be the NULL character. Try adding #chr(0)# to your regex. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259443 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
WYSIWYG Text Editors
I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259444 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Online Help
Maybe I'll wait til then. I can hobble along with Visio/snag it for the time being. Robohelp does seem to offer the most robust feature set I've found in my research. Thanks for the reply. Thanks, Mark -Original Message- From: Joshua Cyr [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:34 AM To: CF-Talk Subject: RE: Online Help I use RoboHelp, as buggy as it is. They have a new version due at somepoint since they put out a request for beta testers. Wish I knew more, but that is all I have. -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 5:49 PM To: CF-Talk Subject: Online Help What are folks using/recommeding for online help documentation for web apps? Robohelp? Others? I'd like some ability to integrate with CF (conditional logic) and maybe some flash generation, but not mandatory. Thanks, Mark ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259445 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cleaning XML - Unicode 0x0
On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Yup, that's the first thing I tried...when it didn't work I posted here hoping for further guidance. Is the null character in your data or in the XML itself somehow? If the former, then I think CDATA may be the way to go. It's a good idea to go there anyway if you're not validating the nature of any variable data that's being stored. If you're storing prices, for example, then you're probably okay. If you're storing descriptions, though, which people may copy/paste from MSWord then including it can be dangerous if it's not contained in a CDATA block. Without a better idea of what your XML structure/content looks like, that's probably about as much help as I'll be able to provide. Sorry. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259447 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: WYSIWYG Text Editors
Xstandard.com Thanks, Mark -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:20 PM To: CF-Talk Subject: WYSIWYG Text Editors I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259446 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: WYSIWYG Text Editors
There was a topic on this recently if u search the archive. Russ -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 17:20 To: CF-Talk Subject: WYSIWYG Text Editors I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259448 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Online Help
Also, look at these lists of WYSIWYG editors: http://wysiwyg.skybuilders.com/report.html http://www.geniisoft.com/showcase.nsf/WebEditors Thanks, Mark -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:24 PM To: CF-Talk Subject: RE: Online Help Maybe I'll wait til then. I can hobble along with Visio/snag it for the time being. Robohelp does seem to offer the most robust feature set I've found in my research. Thanks for the reply. Thanks, Mark -Original Message- From: Joshua Cyr [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:34 AM To: CF-Talk Subject: RE: Online Help I use RoboHelp, as buggy as it is. They have a new version due at somepoint since they put out a request for beta testers. Wish I knew more, but that is all I have. -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 5:49 PM To: CF-Talk Subject: Online Help What are folks using/recommeding for online help documentation for web apps? Robohelp? Others? I'd like some ability to integrate with CF (conditional logic) and maybe some flash generation, but not mandatory. Thanks, Mark ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: WYSIWYG Text Editors
I second that! Xstandard.com is awesome. If you are interested, here is my ColdFusion solution for Xstandard: http://bennadel.com/index.cfm?dax=blog:79.view Also, my general entries regarding Xstandard: http://www.bennadel.com/blog/tags/15-XStandard-WYSIWYG-blog-entries.htm I stand behind it 100%. Best editor I have ever worked with. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:25 PM To: CF-Talk Subject: RE: WYSIWYG Text Editors Xstandard.com Thanks, Mark -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:20 PM To: CF-Talk Subject: WYSIWYG Text Editors I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disappointed in Authorize.Net recently; Looking for new merchant server.
John, That's exactly how it used to work. They no longer offer a post-to url. It will reply directly back to the url submitting the information but you cannot add a secondary post-to url. What frustrates me about that is that even though the site is in the same 'version'. They removed that feature without mention and most C.Support will say that the feature never existed at all. One told me that it did exist but caused problems for their servers. On 11/1/06, John C. Bland II [EMAIL PROTECTED] wrote: I'm curious why you don't let CF do the redirect/post/call to the second url. From what I can remember, of the abilities, you can easily set a url to post to once the payment was made. I don't know how it works (silent or not) but I know you can do it. I just let Auth.net process and that's it. I control the site through code. On 10/31/06, Tony Hicks [EMAIL PROTECTED] wrote: Authorize.net has been nothing but disappointing lately. Lackluster performance out of their servers. Errors routinely. Mis-informed operators. And the lacking of a good feature. I know that many merchant processors model after Authorize.net in the hopes that easy migration of shopping carts will make customers migrate. I'm looking for a system that supports an AIM-compatible interface along with the ability to add a secondary url that the processor will submit the data too 'silently'. I've been away from Authorize.net for a few years but it does seem they've dropped in popularity and reliability. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259451 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cleaning XML - Unicode 0x0
Thanks for your help Rob. I just don't know which field is the culprit as far as the null character (there's no description field or anything obvious like that), and I'm hesitant to CDATA every single field that's going into the db, unless I've exhausted every possible other option. I'll keep grinding on trying to regex the null character out of there and let the list know if I figure anything out. -- Josh - Original Message - From: Rob Wilkerson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 9:25 AM Subject: Re: Cleaning XML - Unicode 0x0 On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Yup, that's the first thing I tried...when it didn't work I posted here hoping for further guidance. Is the null character in your data or in the XML itself somehow? If the former, then I think CDATA may be the way to go. It's a good idea to go there anyway if you're not validating the nature of any variable data that's being stored. If you're storing prices, for example, then you're probably okay. If you're storing descriptions, though, which people may copy/paste from MSWord then including it can be dangerous if it's not contained in a CDATA block. Without a better idea of what your XML structure/content looks like, that's probably about as much help as I'll be able to provide. Sorry. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Anyone using scan alert (Hacker safe) services?
@Will, Tom Kevin: I've been using it and it does a good job of catching some very common issues. Its basically doing a daily Nessus security assessment and will flag quite a number of things, including XSS, SQL injection and vulnerable 3rd party apps. Overall its a good investment and they help you become PCI-certified, a requirement of the credit card companies. @Tom Having a security audit is a good thing, but I wouldn't say a sign saying 'we're secure' drives people one way or the other. I beg to differ. We've actually asked some of the customers and they do have a greater sense of security when they see the HackerSafe badge. So it has had a positive impact on the site. @Kevin: Plus unless you're saving Credit card data and run on a poorly configured server, SSL pretty well keeps you covered as long as you make sure your application is solid. The biggest threat to online consumers is there own machines and how well they maintain and secure them. Thats a fairly simplistic view of site security. XSS right now accounts for the majority of attacks on sites and having regular audits, coupled with good coding practices, helps to ensure that you don't run into issues. Of late, the server component isn't the big target, its the application itself. Services such as ScanAlert help you lock those down. Rey... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259453 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disappointed in Authorize.Net recently; Looking for new merchant server.
Tony, We switch from Authorize.net to Verisign/PaymentTech and have had great success. Rey... Tony Hicks wrote: John, That's exactly how it used to work. They no longer offer a post-to url. It will reply directly back to the url submitting the information but you cannot add a secondary post-to url. What frustrates me about that is that even though the site is in the same 'version'. They removed that feature without mention and most C.Support will say that the feature never existed at all. One told me that it did exist but caused problems for their servers. On 11/1/06, John C. Bland II [EMAIL PROTECTED] wrote: I'm curious why you don't let CF do the redirect/post/call to the second url. From what I can remember, of the abilities, you can easily set a url to post to once the payment was made. I don't know how it works (silent or not) but I know you can do it. I just let Auth.net process and that's it. I control the site through code. On 10/31/06, Tony Hicks [EMAIL PROTECTED] wrote: Authorize.net has been nothing but disappointing lately. Lackluster performance out of their servers. Errors routinely. Mis-informed operators. And the lacking of a good feature. I know that many merchant processors model after Authorize.net in the hopes that easy migration of shopping carts will make customers migrate. I'm looking for a system that supports an AIM-compatible interface along with the ability to add a secondary url that the processor will submit the data too 'silently'. I've been away from Authorize.net for a few years but it does seem they've dropped in popularity and reliability. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259454 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Coldfusion Auction Software
Anyone know of any soild coldfusion based auction software? I looking for something to handle advertising based auctioning. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259455 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Anyone using scan alert (Hacker safe) services?
Will Tomlinson wrote: I noticed a competitor to our e-comm app uses scanalert.com. Just got off the phone with a salesman and wanted to get some input from you guys. It looks like it costs around $1900/year, or $179/month. The dude said it has a 30 day risk-free guarantee - if you don't see results, you quit and they give your money back. It looks like a LOT of bigtime e-comm sites are using their services. http://www.scanalert.com/site/en/hsp/? Anyone have any recommendations/experience with these guys? Thanks, Will We used Scan Alert for over a year right after they came out. It's a really good service and extremely easy to use - but you pay for it. Getting in early we were able to pay less then the average Joe and we were able to scan more IP Addresses then just the one they offer now. As soon as we wanted to scan more then what they gave us initially, they jacked up the price by quite a bit. That was not something we were prepared to pay. After doing a bit of research on the subject, we found that all these services are basically the same. The Hacker Safe, Hacker Secured, Hacker Defended, etc etc etc tools all basically do the same thing - and almost all of them are based on Nessus. (http://nessus.org/) Nessus is a free vulnerability scanner that anyone can use to scan their networks for potential vulnerabilities. You can set it up yourself on your own system if you'd like. The scan reports can be output in HTML, XML, or a variety of other formats. What these places do it take the Nessus reports, then add some of their own formatting, etc (Good, expensive places like Hacker Safe may even add their own notes to the report like where to find patches, how to quickly overcome an error, etc - but it's all the same info.), then re-sell the scans as a service. Because of how Nessus is licensed they can do that. Take a look at some of the other stuff available from Tenable Security. They make Nessus. They don't offer a pretty logo to put on your site but it's the same kind of reports: http://www.tenablesecurity.com/ shameless plug Vivio offers a Nessus Vulnerability Scan for $5 per month. The results can be viewed in HTML format on a password-protected web server: http://www.viviotech.net/hosting_addons.cfm /shameless plug Hope this helps! -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259456 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFC security
All, I'm lookiing for some insight on cfc securtity. For example if someone knew the webroot_path/folder/ where cfcs were located, would it easy for somoeone to point to a cfc as a Web service and retrieve, delete or insert data? If yes to the above question, what are some good approaches to securing cfcs? Thanks. D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Site Monitoring
Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259458 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Site Monitoring
how aboug googling for site monitoring? :) i've used http://www.siteuptime.com/ (first non-sponsored link returned from the google search, btw) on a personal site and thought the service was decent. On 11/7/06, Dave Francis [EMAIL PROTECTED] wrote: Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF Port
Anyone know the standards port that FF uses if any? I need to setup an alert in case the CF Server goes down? Anyone implement something similar? How about the SQL port as well? While CF does listen on a JNDI port, you're better off monitoring your web server, checking a CF page to make sure CF is still working. By default, SQL Server listens on TCP/1433. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259465 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Site Monitoring
We use http://www.pingalink.com/ it works great. It can even Text Message you I think (as an option). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 1:13 PM To: CF-Talk Subject: Site Monitoring Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC security
CFCs can only be access remotely if their access attribute (of the CFFunction) is set to Remote. Furthermore, If you have the OnRequest() method of your Application.cfc, you cannot call CFCs directly (unless you dynamically delete this method in the OnRequestStart(). If you are nervous about CFC security, the failsafe solution is to move your CFCs out of the webroot. When doing that, you either have to map your CFC paths or use this: Creating ColdFusion Components In Parent Directories (From Sub Directories) Without Mapped Paths http://www.bennadel.com/index.cfm?dax=blog:348.view But, the bottom line is that if none of your CFCs are set to use remote access, then you shouldn't have anything to worry about... As far as I know... Smarter people can comment here :) .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 1:04 PM To: CF-Talk Subject: CFC security All, I'm lookiing for some insight on cfc securtity. For example if someone knew the webroot_path/folder/ where cfcs were located, would it easy for somoeone to point to a cfc as a Web service and retrieve, delete or insert data? If yes to the above question, what are some good approaches to securing cfcs? Thanks. D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259461 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Finding the CFINCLUDE path
When an include fails, the only thing we get is being lectured with this stupid massage: Note: If you wish to use an absolute template path (e.g. TEMPLATE=/mypath/index.cfm) with CFINCLUDE then you must create a mapping for the path ... blah blah blah... What would really help would be complete physical path and name of the file CF really tried to find. Anyone here has some trick to find this information ? If you wrap CFINCLUDE within CFTRY, CFCATCH will contain a variable called MissingFileName, I think. I don't remember if it contains path information. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Urgent--Purpose of Inetpub folder
I would like to run my web application which includes servlets and jsps using JRun.I don't have any idea on JRun.Iam trying to find information.But Iam unable to find the purpose of inetpub folder and its role in running the web application. Could you please explain clearly the purpose and use of inetpub folder in JRun. Inetpub is the directory created when you install IIS. By default, the web root folder of the default IIS`virtual server will be in there. If you use IIS with JRun, you can place JSP pages in that web root folder. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259466 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC pathing question
Using your example, if I have abstractcomponent.cfm in the root of www_cfc and then i create folders to logically house other cfc's...how would I reference abstractcomponent.cfc from a subfolder? www_cfc abstractcomponent.cfc cybergirl ...girl.cfc I tried APPLICATION.CreateCFC( cybergirl.Girl ).Init(...) and it found girl.cfc, but girl.cfc extends applicationcompnent.cfc and it is erroring out as it can't seem to find applicationcomponent.cfc. Can I only extend cfc's that are in the same directory? No, you can extend any component you can reference using a package path. Assuming that www_cfc is in your web root, you would apecify www_cfc.abstractcomponent in the EXTENDS attribute of the CFCOMPONENT tag in girl.cfc. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259463 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC security
If your on a shared server, unless you have sandboxes in place, anyone can get to any file on the server if all thetags are enabled. So they could use CFFILE and CFDIRECTORY to get a list of all your files, and copy them to their own site and view the source (or just delete the files), or CFFTP them to another location. They can then not only view your code, but could also see your database name, username, password if you have this in your code, and access your database wheneve rthey like. I have a fair of info about security and sandboxes on my blog. http://russ.michaels.me.uk -- Snake -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 18:04 To: CF-Talk Subject: CFC security All, I'm lookiing for some insight on cfc securtity. For example if someone knew the webroot_path/folder/ where cfcs were located, would it easy for somoeone to point to a cfc as a Web service and retrieve, delete or insert data? If yes to the above question, what are some good approaches to securing cfcs? Thanks. D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: WYSIWYG Text Editors
Xstandard seems great, but my concern is that it requires a small install on the computer (end user) to run. Has anyone run into issues in corporate world where their computers are locked down and thus the editor wouldn't run? Also, another editor to look at is KTML from Interakt (now adobe). They bundled it into the Kollection package. http://www.interaktonline.com/ -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:31 PM To: CF-Talk Subject: RE: WYSIWYG Text Editors I second that! Xstandard.com is awesome. If you are interested, here is my ColdFusion solution for Xstandard: http://bennadel.com/index.cfm?dax=blog:79.view Also, my general entries regarding Xstandard: http://www.bennadel.com/blog/tags/15-XStandard-WYSIWYG-blog-entries.htm I stand behind it 100%. Best editor I have ever worked with. ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:25 PM To: CF-Talk Subject: RE: WYSIWYG Text Editors Xstandard.com Thanks, Mark -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:20 PM To: CF-Talk Subject: WYSIWYG Text Editors I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Site Monitoring
Charlie Griefer wrote: how aboug googling for site monitoring? :) i've used http://www.siteuptime.com/ (first non-sponsored link returned from the google search, btw) on a personal site and thought the service was decent. On 11/7/06, Dave Francis [EMAIL PROTECTED] wrote: Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave I second the siteuptime vote. We've been using them for years and they keep getting better. We run a *lot* of monitors from them. -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259471 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Site Monitoring
I've used Nagios http://www.nagios.org/ for several years. It does everything I need it to do, and it can easily be configured on a remote shell account to monitor the servers as they would appear for someone outside my own network. It has a good notification system and uptime reporting. There are binary RPMs (by Dag Wieers) available and many official and contributed plugins. Writing your own plugin is quite easy too. There are very few dependancies; I don't recall needing to resolve any missing dependancies when installing the package. This is quite a contrast from some of the PERL-based solutions for which you might spend an afternoon trolling CPAN. :) -- Joseph Lamoree ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259472 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: Anyone using scan alert (Hacker safe) services?
Hi Jordan, Let me just add one more point to this. ScanAlert (as well as some others) also serves as a neutral 3rd party scanning/auditing service which is a requirement for PCI compliance. Rey,,, Jordan Michaels wrote: Will Tomlinson wrote: I noticed a competitor to our e-comm app uses scanalert.com. Just got off the phone with a salesman and wanted to get some input from you guys. It looks like it costs around $1900/year, or $179/month. The dude said it has a 30 day risk-free guarantee - if you don't see results, you quit and they give your money back. It looks like a LOT of bigtime e-comm sites are using their services. http://www.scanalert.com/site/en/hsp/? Anyone have any recommendations/experience with these guys? Thanks, Will We used Scan Alert for over a year right after they came out. It's a really good service and extremely easy to use - but you pay for it. Getting in early we were able to pay less then the average Joe and we were able to scan more IP Addresses then just the one they offer now. As soon as we wanted to scan more then what they gave us initially, they jacked up the price by quite a bit. That was not something we were prepared to pay. After doing a bit of research on the subject, we found that all these services are basically the same. The Hacker Safe, Hacker Secured, Hacker Defended, etc etc etc tools all basically do the same thing - and almost all of them are based on Nessus. (http://nessus.org/) Nessus is a free vulnerability scanner that anyone can use to scan their networks for potential vulnerabilities. You can set it up yourself on your own system if you'd like. The scan reports can be output in HTML, XML, or a variety of other formats. What these places do it take the Nessus reports, then add some of their own formatting, etc (Good, expensive places like Hacker Safe may even add their own notes to the report like where to find patches, how to quickly overcome an error, etc - but it's all the same info.), then re-sell the scans as a service. Because of how Nessus is licensed they can do that. Take a look at some of the other stuff available from Tenable Security. They make Nessus. They don't offer a pretty logo to put on your site but it's the same kind of reports: http://www.tenablesecurity.com/ shameless plug Vivio offers a Nessus Vulnerability Scan for $5 per month. The results can be viewed in HTML format on a password-protected web server: http://www.viviotech.net/hosting_addons.cfm /shameless plug Hope this helps! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259473 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cleaning XML - Unicode 0x0
On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Thanks for your help Rob. I just don't know which field is the culprit as far as the null character (there's no description field or anything obvious like that), and I'm hesitant to CDATA every single field that's going into the db, unless I've exhausted every possible other option. I wouldn't apply a CDATA block to every field indiscriminately, but I would apply it to varchar and text fields where the data is likely to be quite variable. I'll keep grinding on trying to regex the null character out of there and let the list know if I figure anything out. The problem with this approach is that while it's currently the null character, next time it might be something else and then something else. Your regex could just continue to grow. I guess what I'm saying is that it's not really a scalable solution. Handling invalid character in a batch manner by including them in a CDATA block or by understanding how those characters are being inserted is a more workable long term solution. That said, adding this final character may turn out to be the last you ever hear of this particular problem. :-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259469 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Site Monitoring
SeeFusion (seefusion.com) is a robust ColdFusion specific monitor. It has monitoring rules which can send out notifications when requests take over a certain amount of time or if memory usage gets to high, or the current number of active requests breaks a threshold etc. You may be looking for something simpler which just pings the server though. ~Brad -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:13 PM To: CF-Talk Subject: Site Monitoring Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Anyone using scan alert (Hacker safe) services?
We use it for PCI Scans and HackerSafe Logo. We did a great A B test with them and it showed people that saw the logo bought more than people that didnt see the logo. Not bad considering we sell Furniture online :) My only complaint is I would like to get notified when a system fails PCI scan. Currently they only notify when a site is not HackerSafe. They say its in the works. Great people though Eric Haskins On 11/7/06, Rey Bango [EMAIL PROTECTED] wrote: @Will, Tom Kevin: I've been using it and it does a good job of catching some very common issues. Its basically doing a daily Nessus security assessment and will flag quite a number of things, including XSS, SQL injection and vulnerable 3rd party apps. Overall its a good investment and they help you become PCI-certified, a requirement of the credit card companies. @Tom Having a security audit is a good thing, but I wouldn't say a sign saying 'we're secure' drives people one way or the other. I beg to differ. We've actually asked some of the customers and they do have a greater sense of security when they see the HackerSafe badge. So it has had a positive impact on the site. @Kevin: Plus unless you're saving Credit card data and run on a poorly configured server, SSL pretty well keeps you covered as long as you make sure your application is solid. The biggest threat to online consumers is there own machines and how well they maintain and secure them. Thats a fairly simplistic view of site security. XSS right now accounts for the majority of attacks on sites and having regular audits, coupled with good coding practices, helps to ensure that you don't run into issues. Of late, the server component isn't the big target, its the application itself. Services such as ScanAlert help you lock those down. Rey... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259467 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Site Monitoring
Depending on your setup, we use Paessler with tremendous success. With local and remote probes, Treo 700w apps, windows and/or web GUI, email/sms alerts...blah blah www.paessler.com Eric J. Hoffman Managing Partner 2081 Industrial Blvd StillwaterMN55082 mail: [EMAIL PROTECTED] www: http://www.ejhassociates.com tel: 651.717.4105 fax: 651.717.4115 mob: 651.245.2717 Adobe Solutions Partner Microsoft Certified Partner This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:13 PM To: CF-Talk Subject: Site Monitoring Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259474 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Site Monitoring
http://mon.itor.us/ Does a pretty good job as well. Free, and will send sms / email. -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:13 PM To: CF-Talk Subject: Site Monitoring Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259475 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: WYSIWYG Text Editors
Josh, I am sure the install is an issue for some people, but we use it with all our new corporate clients and have not run into an issue yet. To me, it's akin to saying We are going to build you a CMS, but it can't have a database. The Editor is the same as a DB... It's just part of what is Required for the project. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Joshua Cyr [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 1:19 PM To: CF-Talk Subject: RE: WYSIWYG Text Editors Xstandard seems great, but my concern is that it requires a small install on the computer (end user) to run. Has anyone run into issues in corporate world where their computers are locked down and thus the editor wouldn't run? Also, another editor to look at is KTML from Interakt (now adobe). They bundled it into the Kollection package. http://www.interaktonline.com/ -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:31 PM To: CF-Talk Subject: RE: WYSIWYG Text Editors I second that! Xstandard.com is awesome. If you are interested, here is my ColdFusion solution for Xstandard: http://bennadel.com/index.cfm?dax=blog:79.view Also, my general entries regarding Xstandard: http://www.bennadel.com/blog/tags/15-XStandard-WYSIWYG-blog-entries.htm I stand behind it 100%. Best editor I have ever worked with. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:25 PM To: CF-Talk Subject: RE: WYSIWYG Text Editors Xstandard.com Thanks, Mark -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:20 PM To: CF-Talk Subject: WYSIWYG Text Editors I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259476 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Site Monitoring
Microsoft Operations Monitor (MOM) can do all this for you. For ColdFusion monitoring, you should obviously look for SeeFusion, FusionReactor, or wait for CF8 :-) This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dave Francis To: CF-Talk Sent: Tue Nov 07 18:12:34 2006 Subject: Site Monitoring Is there any software out there that can monitor and alert me whenever my site crashes or starts to respond unacceptably slowly Win2k/IIS5.0 mailto:[EMAIL PROTECTED] (or what terms should I google for?) Thanks, Dave ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259477 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
make faces = 10 make aces = 1 or 11 make everything else equal its value. not sure how else you can do it? tw On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cleaning XML - Unicode 0x0 SOLVED sorta
OK, I added this to my regex: \x00 Which is a hex representation of the character 0. And it worked. Not sure why chr(0) didn't work. Yes it's non scalable...but, since the data is not going into the database as xml, just plain old form fields, I can't use CDATA on the way in anyway, correct? I would have to run the same regex on each of the incoming form fields that are text...so, this way is more scalable than that I guess. -- Josh - Original Message - From: Rob Wilkerson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 10:19 AM Subject: Re: Cleaning XML - Unicode 0x0 On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Thanks for your help Rob. I just don't know which field is the culprit as far as the null character (there's no description field or anything obvious like that), and I'm hesitant to CDATA every single field that's going into the db, unless I've exhausted every possible other option. I wouldn't apply a CDATA block to every field indiscriminately, but I would apply it to varchar and text fields where the data is likely to be quite variable. I'll keep grinding on trying to regex the null character out of there and let the list know if I figure anything out. The problem with this approach is that while it's currently the null character, next time it might be something else and then something else. Your regex could just continue to grow. I guess what I'm saying is that it's not really a scalable solution. Handling invalid character in a batch manner by including them in a CDATA block or by understanding how those characters are being inserted is a more workable long term solution. That said, adding this final character may turn out to be the last you ever hear of this particular problem. :-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259480 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ordering Poker hands
I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259478 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ordering Poker hands
That would be great for blackjack... But not for poker -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:14 PM To: CF-Talk Subject: Re: ordering Poker hands make faces = 10 make aces = 1 or 11 make everything else equal its value. not sure how else you can do it? tw On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ordering Poker hands
Ray Camden did a contest for poker I think. Lots of example code and review was done. http://ray.camdenfamily.com/index.cfm/2005/11/23/Intermediate-Contest-Entry- 4 is one entry, there are others there too. -Original Message- From: So Kenfused [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:49 PM To: CF-Talk Subject: ordering Poker hands I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259483 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
It may not be poker but you should check out Ray Camden's site. He held a coding contest and one of the projects was to build a blackjack app. On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259482 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ordering Poker hands
Bah, blackjack... I should have checked. ;-) -Original Message- From: Dan Vega [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:28 PM To: CF-Talk Subject: Re: ordering Poker hands It may not be poker but you should check out Ray Camden's site. He held a coding contest and one of the projects was to build a blackjack app. On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259484 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
You'll need a Hands table to define all the possible hands. Then you'll need another table that maps each hand against every other hand and indicates 'beats' or 'does not beat'. HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259485 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
So Kenfused wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. Let's say your hand is an array of structs, where each struct contains card (1-13) and suit (H,S,C,D) so write a number of functions like this: function isFlush(hand) { if (hand[1].suit eq hand[2].suit and hand[2].suit eq hand[3].suit and hand[3]suit eq hand[4].suit and hand[4].suit eq hand[5].suit) { return true; } else { return false; } } function isStraight(hand) { var cards = ; for (i=1;i lte 5; i = i + 1;) { // no dupes in a straight if (listFind(cards,hand[i].card) { cards = listAppend(hand[i].card); } } if (listlen(cards) is 5) { if (listgetat(cards,5)-listgetat(cards,1) eq 4) { // 1,2,3,4,5 - 9,10,11,12,13 return true; } else if (listgetat(cards,5)-listgetat(cards,1) eq 3 // 10,11,12,13,14 and listgetat(cards,5) eq 1) { return true; } } return false; } function isStraightFlush(hand) { if (isStraight(hand) and isFlush(hand)) { return true; } else { return false; } } You'd probably also have to add some code to determine a high straight versus a low straight and stuff like that. It's probably a lot of code, but not complicated code. And you'd want to check the hand in order from straight flush down to one pair.. ie you have to check for a full house BEFORE you check for three of a kind. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259487 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
I think it would be pretty complicated. You need to worry about suits as well as number value. You would need to assign a ranking value to pair, two pair, three of a kind, full house etc, up to royal flush, then determine if they are holding that hand. So it might be - 1. determine the hand they are holding 2. assign it a rank (royal flush would be highest rank, no pairs or anything would be lowest) 3. determine who at the table has the highest rank - if more than one has same rank then determine tie breaker I think step 1 would involve the most code. You would need to make an array for each hand I think, and loop over it comparing each element to each other element to determine pairs, flushes etc. Then you also have the challenge of creating a deck and making sure it's randomized (shuffled) and that no player is getting the same card as any other player. Good luck, let us know how it goes. - Original Message - From: So Kenfused [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 9:48 AM Subject: ordering Poker hands I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
yea :) i won best design :) tw On 11/7/06, Joshua Cyr [EMAIL PROTECTED] wrote: Bah, blackjack... I should have checked. ;-) -Original Message- From: Dan Vega [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:28 PM To: CF-Talk Subject: Re: ordering Poker hands It may not be poker but you should check out Ray Camden's site. He held a coding contest and one of the projects was to build a blackjack app. On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259489 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
Joshua Cyr wrote: Ray Camden did a contest for poker I think. Lots of example code and review was done. http://ray.camdenfamily.com/index.cfm/2005/11/23/Intermediate-Contest-Entry- 4 is one entry, there are others there too. Shoot I missed that one, I wrote a cf_blackjack custom tag back in 1999 ... it's still available on the adobe exchange :) Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259488 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ordering Poker hands
Yes, but the same principles apply to creating a 2 dimensional array for the cards and initializing them. It is a starting point at least. On 11/7/06, Joshua Cyr [EMAIL PROTECTED] wrote: Bah, blackjack... I should have checked. ;-) -Original Message- From: Dan Vega [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:28 PM To: CF-Talk Subject: Re: ordering Poker hands It may not be poker but you should check out Ray Camden's site. He held a coding contest and one of the projects was to build a blackjack app. On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disappointed in Authorize.Net recently; Looking for new merchant server.
Very interesting. I never used it so didn't notice it was gone. Bad move, IMO. On 11/7/06, Tony Hicks [EMAIL PROTECTED] wrote: John, That's exactly how it used to work. They no longer offer a post-to url. It will reply directly back to the url submitting the information but you cannot add a secondary post-to url. What frustrates me about that is that even though the site is in the same 'version'. They removed that feature without mention and most C.Support will say that the feature never existed at all. One told me that it did exist but caused problems for their servers. On 11/1/06, John C. Bland II [EMAIL PROTECTED] wrote: I'm curious why you don't let CF do the redirect/post/call to the second url. From what I can remember, of the abilities, you can easily set a url to post to once the payment was made. I don't know how it works (silent or not) but I know you can do it. I just let Auth.net process and that's it. I control the site through code. On 10/31/06, Tony Hicks [EMAIL PROTECTED] wrote: Authorize.net has been nothing but disappointing lately. Lackluster performance out of their servers. Errors routinely. Mis-informed operators. And the lacking of a good feature. I know that many merchant processors model after Authorize.net in the hopes that easy migration of shopping carts will make customers migrate. I'm looking for a system that supports an AIM-compatible interface along with the ability to add a secondary url that the processor will submit the data too 'silently'. I've been away from Authorize.net for a few years but it does seem they've dropped in popularity and reliability. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259493 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ordering Poker hands
Bryan Stevenson wrote: You'll need a Hands table to define all the possible hands. Then you'll need another table that maps each hand against every other hand and indicates 'beats' or 'does not beat'. That's an interesting idea... There are only 311 million possible hands. Of course most of them aren't winners =) Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259496 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: WYSIWYG Text Editors
Someone said earlier that xstandard is the editor that does image uploading in the background when you copy and paste from within Word. Does anyone have an example of that? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 11:25 AM To: CF-Talk Subject: RE: WYSIWYG Text Editors Xstandard.com Thanks, Mark -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:20 PM To: CF-Talk Subject: WYSIWYG Text Editors I'm looking for a list of WYSIWYG text editors for forms. I'm aware of Active Edit, Tinymce and FCKeditor. Free, Shareware or paid can all be considered. What is important is the editor's ability to easily and cleanly handle international/extended/special characters. Easy integration into ColdFusion is important as well. Suggestions and comments welcome. Thank You -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259492 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cleaning XML - Unicode 0x0 SOLVED sorta
On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Yes it's non scalable...but, since the data is not going into the database as xml, just plain old form fields, I can't use CDATA on the way in anyway, correct? I would have to run the same regex on each of the incoming form fields that are text...so, this way is more scalable than that I guess. Maybe I'm not clear about how you're using XML. Are you extracting data from your DB into an XML format or doing something else? I assumed you were formatted data from the DB into XML for the purpose of delivering it somewhere else. If that's the case, the CDATA - while it may or may not have solved this particular problem - is safer than what you're doing and scalable. Of course, I'm just beating a dead horse if you've already found something you're happy with. :-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
why not just one table with the hands ordered appropriately? ...because I'm a bit of a data purist ;-) The order of records in a table implying a hierarchy is a no no in most books. IN my books it should be VERY explicit (thus my example)no room for confusion. Just think if someone accidentally deleted 2 pair and then it had to be added as the last record...thus implying 2 pair beats everything...bad bad bad ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259504 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
ok, so which types of poker games are you going to have in it then? tw On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259494 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ordering Poker hands
i have all that deck creation (n decks btw), shuffling, etc... all done... its all in my code for rays contest. tw On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: I think it would be pretty complicated. You need to worry about suits as well as number value. You would need to assign a ranking value to pair, two pair, three of a kind, full house etc, up to royal flush, then determine if they are holding that hand. So it might be - 1. determine the hand they are holding 2. assign it a rank (royal flush would be highest rank, no pairs or anything would be lowest) 3. determine who at the table has the highest rank - if more than one has same rank then determine tie breaker I think step 1 would involve the most code. You would need to make an array for each hand I think, and loop over it comparing each element to each other element to determine pairs, flushes etc. Then you also have the challenge of creating a deck and making sure it's randomized (shuffled) and that no player is getting the same card as any other player. Good luck, let us know how it goes. - Original Message - From: So Kenfused [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 9:48 AM Subject: ordering Poker hands I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259495 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ordering Poker hands
why not just one table with the hands ordered appropriately? On 11/7/06, Bryan Stevenson [EMAIL PROTECTED] wrote: You'll need a Hands table to define all the possible hands. Then you'll need another table that maps each hand against every other hand and indicates 'beats' or 'does not beat'. HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259497 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cleaning XML - Unicode 0x0 SOLVED sorta
Josh, I think the point that Rob and others were making is that your data should be validated and cleaned up BEFORE being inserted into the database - whether it's inserted as XML or not is completely and utterly irrelevant. If you didn't have invalid data in the database, then you wouldn't have invalid data in your XML. But, since the data obviously is NOT being validated and cleaned up before db entry, the best, most scalable, and most widely accepted good practice would be to use CDATA in your XML. Again though, what you're doing is just a bandaid that covers up the real issue, which is invalid data being entered into the database. Thanks, Matt -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 1:14 PM To: CF-Talk Subject: Re: Cleaning XML - Unicode 0x0 SOLVED sorta OK, I added this to my regex: \x00 Which is a hex representation of the character 0. And it worked. Not sure why chr(0) didn't work. Yes it's non scalable...but, since the data is not going into the database as xml, just plain old form fields, I can't use CDATA on the way in anyway, correct? I would have to run the same regex on each of the incoming form fields that are text...so, this way is more scalable than that I guess. -- Josh - Original Message - From: Rob Wilkerson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, November 07, 2006 10:19 AM Subject: Re: Cleaning XML - Unicode 0x0 On 11/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Thanks for your help Rob. I just don't know which field is the culprit as far as the null character (there's no description field or anything obvious like that), and I'm hesitant to CDATA every single field that's going into the db, unless I've exhausted every possible other option. I wouldn't apply a CDATA block to every field indiscriminately, but I would apply it to varchar and text fields where the data is likely to be quite variable. I'll keep grinding on trying to regex the null character out of there and let the list know if I figure anything out. The problem with this approach is that while it's currently the null character, next time it might be something else and then something else. Your regex could just continue to grow. I guess what I'm saying is that it's not really a scalable solution. Handling invalid character in a batch manner by including them in a CDATA block or by understanding how those characters are being inserted is a more workable long term solution. That said, adding this final character may turn out to be the last you ever hear of this particular problem. :-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259505 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ordering Poker hands
I wrote a Yahtzee game in JavaScript a few years back. same basic theory (in that it had to test for straights, full house, or 'n' number of 1-6 results). I'll have to try and find the code (won't be able to look until this evening). If I can find it, I'll post it tonite. On 11/7/06, So Kenfused [EMAIL PROTECTED] wrote: I am building a poker applicaiton. Has anyone dealt with determining the value of a hand? I have the feeling I am making it even more complicated than necessary. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4