note 45349 added to language.variables.external

From: Date: Thu, 02 Sep 2004 22:22:40 +0000
Subject: note 45349 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-75962@lists.php.net to get a copy of this message
The [] thing is most definitely a bad hack. PHP should be able to handle any valid form. It's probably nice to have for tinkering around but it's ultimately wrong. if nothing else, the programmer may not actually have control of what variable names are used on the form. I would like to see PHP automatically (perhaps as a configurable option) make arrays out of duplicated GET and POST vars. isarray() is available after all. ---- Manual Page -- http://www.php.net/manual/en/language.variables.external.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45349 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45349&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45349&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75962) next »