Say your HTTP request is formatted like this:
GET /path/to/file.php?var[]=1&var[]=2 PHP will populate that into an array named $_GET: array('var' => array(1, 2))
My question is... is this a PHP thing or is this behavior governed by an RFC? How would a web accessible node.js or Python script deal with this?
?foo.bar=bazgets converted to$_GET['foo_bar'] = 'baz';. Other server-side languages may provide similar features though.<input type="image" />coordinates ;) They get sent asname.xandname.ybut PHP exposes them asname_xandname_y. I'm guessing this is a leftover from when "register globals" was a default thing.