Rivet wrote:Wrong: -22 IS a digit!
It isn't. Expressing it in BNF notation, a "digit" is canonically one of these symbols:
digit ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
at least in the default decimal representation, though the term is also used when representing numbers in other bases, in which case the set of symbols would be different. Consequently, -22 is not a digit. You could say it is a number or more precisely an integer. Likewise, it seems to me that when you say '"-899" is about a thousand digits away from "899"', you actually mean to say that '-899 is about a thousand integers away from 899' (with respect to a number line).
I think the miscommunication here is that when you say "digit", you don't mean it in the usual sense, but rather you are using it to mean a distinct part of the code that the user should enter, e.g.,
[1234] - [5678] - [-7789]
in which case the numeric strings in brackets each form a distinct part of the code. However, if this is so, then you should be more clear as to what you mean by a "ten digit code". Wouldn't you call mt_rand ten times, i.e., once to produce each of the ten parts of the code?
Rivet wrote:In the second place, you're only seeing a single point of the overall process and I'm very interested in seeing that the visitor is human and nothing else. Besides, that comment goes outside the scope of the question and isn't what I asked about.
I think that is in the scope of the question because whether something is secure depends on what you are trying to protect. For example, if you are providing the user with the code by email, then a bot can defeat this if you are using it as a CAPTCHA just by parsing the contents of the email.
Rivet wrote:Basically, yes, but with qualifiers and different implementations that incorporates negative numbers in place of a single positive digit as most people use. Also, using 3 mt_rands or more, and concatening them makes it easier for the user to enter a long sequence of digits by visually adding the negative numbers to the mix. Thus allowing for more digits to be used.
That would be increasing the number of possible codes while not significantly increasing the amount that the user has to type. This would make it more secure with respect to a brute force guessing attempt.
Rivet wrote:And, it's entered on the opening page, not on the last page as chaptcha does, notifying the user of a mistake before he's entered all of his data, only to lose everything due to an inability to get along with captcha.
If you're using it as a CAPTCHA, then it is a CAPTCHA, even if it doesn't use some fancy image with embedded text. Note that you can always save the data even if the user only enters it at the end, only processing the form on success. So, having the user lose what was entered is more a bug than a feature of a CAPTCHA system to protect a form.
Rivet wrote:Over in my now favorite NEWSGROUP, there were no responses like I get here at all. They were able to immediately grasp my intent and provide meaningful questions in a couple of cases and came back with valid, consistent and useful opinions of the two methods.
I've come to think that your and others' responses here serve no purpose other than to lengthen the thread, which is the only purpose a few of you seem to serve. You NEVER ask for clarification or verification if you don't understand something and NEVE take the time to read everything before you start your speed-responses.
In addition to the above, I also wonder is some of the various names here aren't actually the same person: The persona's are way too similar to be different people.
I am certainly not masquerading as a bunch of different people. Like the other people responding here, I'm a volunteer. I have taken the time to read your posts, and I did my best to understand them, but because I found what you wrote to be inconsistent, I pointed it out for you to clarify. Your accusations are unwarranted and hurtful to someone who has tried to help you, so I am going to stop attempting to help you.
If you are so sure that your "now favorite NEWSGROUP" is so much better at helping you than the community here, go ahead and ask for help there. That is the sensible thing to do, after all.