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
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
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
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
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
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
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
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,
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
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
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
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:
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
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
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
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
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
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
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
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:
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
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
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%'
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
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)#%'
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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,
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
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.
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,
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:
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
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
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
@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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).
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
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.
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
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
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
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.
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
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
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
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
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
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,
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
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
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:
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
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
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.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
1 - 100 of 184 matches
Mail list logo