#28233 [NEW]: variable l (small L) is not set when sent by form with 'post' method
| From: | player at w dot pl | Date: | Fri, 30 Apr 2004 10:37:50 +0000 |
| Subject: | #28233 [NEW]: variable l (small L) is not set when sent by form with 'post' method | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-59061@lists.php.net to get a copy of this message | ||
From: player at w dot pl
Operating system: windows 2000
PHP version: 4.3.6
PHP Bug Type: Arrays related
Bug description: variable l (small L) is not set when sent by form with 'post' method
Description:
------------
Variable l (small L) is not set when sent by form with 'post' method. Same
with PHP v 4.3.5. Everything is ok when I use php v. 4.2.1.
Reproduce code:
---------------
--main.html--
<form action="testl.php" method="post">
<input type="text" name="l" value="TEST_L">
<input type="submit">
</form>
-----
--testl.php--
<? echo $_POST['l']; ?>
----
Expected result:
----------------
TEST_L
Actual result:
--------------
Undefined index: l in d:\apache\htdocs\testl.php on line 1
--
Edit bug report at http://bugs.php.net/?id=28233&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28233&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28233&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28233&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28233&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28233&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28233&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28233&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28233&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28233&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28233&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28233&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28233&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28233&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28233&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28233&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28233&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28233&r=float