php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28233 variable l (small L) is not set when sent by form with 'post' method
Submitted: 2004-04-30 12:37 UTC Modified: 2004-04-30 17:32 UTC
From: player at w dot pl Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 4.3.6 OS: windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: player at w dot pl
New email:
PHP Version: OS:

 

 [2004-04-30 12:37 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-30 15:04 UTC] derick@php.net
Which apache version are you using?
 [2004-04-30 15:46 UTC] player at w dot pl
Apache Version: Apache/1.3.12 (Win32)
Apache Release: 10324100  
Apache API Version: 19990320
 [2004-04-30 17:32 UTC] derick@php.net
Upgrade to 1.3.29 first, and reopen if the bug still occurs.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Sep 24 11:01:24 2020 UTC