Re: Going from simple to super CAPTCHA

From: Date: Wed, 13 Jun 2007 18:41:57 +0000
Subject: Re: Going from simple to super CAPTCHA
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-256922@lists.php.net to get a copy of this message
On Wed, June 13, 2007 3:36 am, Robin Vickery wrote: > On 12/06/07, Richard Lynch <ceo@l-i-e.com> wrote: >> On Tue, June 12, 2007 9:33 am, Tijnema wrote: >> > I meant reverse order :P >> >> That would be pretty broken. >> >> There's no guarantee that browsers will present the inputs in any >> order at all, even though they all seem (so far) to follow the >> convention of presenting them in the order they appear in the form. >> >> If, however, one browser decides tomorrow to use the "tab" order >> instead, and your code breaks because of that, it's your fault, not >> the browser's. > > The HTML spec says that form elements should be presented in the order > they appear in the document. If the browser doesn't conform to spec, > it's not his fault. > > From the HTML 4.01 Specification: > > "The control names/values are listed in the order they appear in the > document. The name is separated from the value by `=' and name/value > pairs are separated from each other by `&'." Cool! I wonder if that came about as a result of HTML 3.x "issues"... :-) Might be where I remembered the ordering issue from. I guess it's okay to require HTML 4.01 or higher now, eh?... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#256922) next »