On Thu, April 19, 2007 2:50 am, Justin Frim wrote: ... > limitations. Form field names must not be permitted to contain > periods, > spaces, or opening square brackets. Those all get converted to > underscores before the keys are created to the $_POST[] array, with no > way to determine the original name. And if the form field name has > both > opening and closing square brackets respectively, weird funky > sub-arraying occurs. Anyhow, I'd also need to do a workaround to this Don't be calling my form arrays weird funky! That's one of PHP's greatest features! :-) [lots more stuff deleted] Also, I'll point out that it's only sheer coincidence any ordering you are seeing in $_POST and the POST body. Well, not coincidence, but it's NOT a documented feature. The HTML/HTTP don't even have to provide the INPUTs in order, even though in practice, they all do that. Relying on that order is probably a Bad Idea all around. And, to make you even more miserable, it's not just . and [ that get converted to _ by PHP for the keys... Because of the history of PHP and register_globals, *ANY* character not fitting this PCRE pattern: [a-z_][a-z0-9_]* is gonna get converted... type="image" name="image" -> image_x name="image.x" -> image_x name="image_x" -> image_x name="image[x" -> image_x name="image=x" -> image_x name="image{x" -> image_x name="image,x" -> image_x Of course, those may not be valid HTML names according to one or more HTTP specs you care to pull out... But that don't mean somebody somewhere isn't using them successfully and won't blame you when it "breaks" :-( -- 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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php