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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
27 - 15 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC