#28233 [Opn->Fbk]: variable l (small L) is not set when sent by form with 'post' method
| From: | derick@php.net | Date: | Fri, 30 Apr 2004 13:04:04 +0000 |
| Subject: | #28233 [Opn->Fbk]: variable l (small L) is not set when sent by form with 'post' method | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59064@lists.php.net to get a copy of this message | ||
ID: 28233
Updated by: derick@php.net
Reported By: player at w dot pl
-Status: Open
+Status: Feedback
Bug Type: Arrays related
Operating System: windows 2000
PHP Version: 4.3.6
New Comment:
Which apache version are you using?
Previous Comments:
------------------------------------------------------------------------
[2004-04-30 12:37:50] player at w dot pl
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 this bug report at http://bugs.php.net/?id=28233&edit=1