2009/09/05
PHP/HTML Input Name Limit
Worked through a weird bug the other day. A gaming computer store has products with lots of attributes — as many as fifty. Since osCommerce stores the attributes with the product ID, the result is to make the id array that holds the attributes on the shopping cart page have exceptionally large input names. If the name gets too large (I didn’t test it exactly, but more than two hundred characters was all right and three hundred some broke it), it gets silently dropped. (more…)