#20289 [Com]: Delete $HTTP_GET_VARS on ob_start

2002-11-06 Thread jtaal
 ID:   20289
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Unknown/Other Function
 Operating System: win32
 PHP Version:  4.2.2
 New Comment:

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


Previous Comments:


[2002-11-06 15:09:07] [EMAIL PROTECTED]

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 12:04:39] [EMAIL PROTECTED]

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:

?mode=manage&submode=del_user&user_id=8

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...

Strange






-- 
Edit this bug report at http://bugs.php.net/?id=20289&edit=1




#20289 [Com]: Delete $HTTP_GET_VARS on ob_start

2002-11-06 Thread jtaal
 ID:   20289
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Unknown/Other Function
 Operating System: win32
 PHP Version:  4.2.2
 New Comment:

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


Previous Comments:


[2002-11-06 12:04:39] [EMAIL PROTECTED]

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:

?mode=manage&submode=del_user&user_id=8

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...

Strange






-- 
Edit this bug report at http://bugs.php.net/?id=20289&edit=1