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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 06:01:34 2025 UTC