#28233 [Fbk->Opn]: 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 13:46:36 +0000 |
| Subject: | #28233 [Fbk->Opn]: 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-59066@lists.php.net to get a copy of this message | ||
ID: 28233
User updated by: player at w dot pl
Reported By: player at w dot pl
-Status: Feedback
+Status: Open
Bug Type: Arrays related
Operating System: windows 2000
PHP Version: 4.3.6
New Comment:
Apache Version: Apache/1.3.12 (Win32)
Apache Release: 10324100
Apache API Version: 19990320
Previous Comments:
------------------------------------------------------------------------
[2004-04-30 15:04:03] derick@php.net
Which apache version are you using?
------------------------------------------------------------------------
[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