|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20289 Delete $HTTP_GET_VARS on ob_start
Submitted: 2002-11-06 12:04 UTC Modified: 2002-11-21 17:12 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: jtaal at math dot leidenuniv dot nl Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 4.2.2 OS: win32
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.
Block user comment
Status: Assign to:
Bug Type:
From: jtaal at math dot leidenuniv dot nl
New email:
PHP Version: OS:


 [2002-11-06 12:04 UTC] jtaal at math dot leidenuniv dot nl
I have certain reasons to believe that the function ob_start deletes some data from $HTTP_GET_VARS. At least that's what I think it is
if I place a var_dump after ob_start sometimes data is missing. This time I had something like this:


But when The var_dump was executed it only contained mode.
If I commented the call to ob_start then submode and user_id weren't ommited
Mostly strange is that when I change one letter like submode=del_users It suddenly works again...



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-06 15:09 UTC] jtaal at math dot leidenuniv dot nl
The question I asked becomes more specific.
I discovered that when I use a switch: switch($submode)
and in the switch exists a case "del_user": then data is deleted from $_GET or $HTTP_GET_VARS, but when I change it to case "del_user_tmp": or something different... It doesnt work anymore
 [2002-11-06 15:27 UTC] jtaal at math dot leidenuniv dot nl
I get this directly from the function phpinfo()

_ENV["QUERY_STRING"] mode=manage_sections  
_ENV["REQUEST_URI"] /leden/bijwerken/bijwerken.php?mode=manage_sections&submode=del_section_d&del_name=CAO  

strange It seems that the query string isn't correct
 [2002-11-07 16:47 UTC]
Please try using this CVS snapshot:
For Windows:
 [2002-11-21 17:12 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 08:01:34 2024 UTC