#20202 [NEW]: Form elements id Attrbute Ignored
| From: | raffaele at vpresence dot com | Date: | Thu, 31 Oct 2002 20:36:20 +0000 |
| Subject: | #20202 [NEW]: Form elements id Attrbute Ignored | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-23843@lists.php.net to get a copy of this message | ||
From: raffaele@vpresence.com
Operating system: WinXP SP1
PHP version: 4.2.2
PHP Bug Type: Feature/Change Request
Bug description: Form elements id Attrbute Ignored
PHP seems to ignore the id attribute given to form elements. It just
consider the name attribute
So while a element like <input type="text" name="first_name" /> will
create a $_post["first_name"] variable if submitted, for exemple, the
similar tag <input type="text" id="first_name" /> will not create any
variable.
The problem is that in the XHTML 1.0 W3C specs the "name" attribute is
depreached in favor of "id". This could cause problems in the near future
where XHTML whill be more widespread.
It would be appreciated if the "id" attribute handling is added to future
PHP releases.
Info:
I installed PHP on my WinXP SP1 for use with IIS using the included
installer and use all the default choices.
My inst
--
Edit bug report at http://bugs.php.net/?id=20202&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20202&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20202&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20202&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20202&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20202&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20202&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20202&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20202&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20202&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20202&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20202&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20202&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20202&r=isapi