[PHP-DEV] Bug #12324 Updated: arg_separator.output broken

2001-07-31 Thread andy

ID: 12324
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Bogus
Status: Open
Bug Type: *Configuration Issues
Operating System: linux
PHP Version: 4.0.6
New Comment:

i have gotten emails from people saying that they have reproduced
this error.  Can anybody from PHP verify this?  I have not been
able to reproduce this error (using the script in my last post.)

Previous Comments:


[2001-07-24 09:20:39] [EMAIL PROTECTED]

you have your params mixed up.  replace arg_separator.output
with arg_separator.input and things will work.  I modified
your script below.  This one works as you wanted it to.

?php
global $HTTP_POST_VARS,$HTTP_GET_VARS, $HTTP_COOKIE_VARS,
$PHP_SELF;

ini_set(arg_separator.input, ;);
define(a, ini_get(arg_separator.input));


if($HTTP_GET_VARS){
$total = count($HTTP_GET_VARS);
echo Displaying GET variables;
while(list($key, $val) = each($HTTP_GET_VARS)) {
echo br /Key: '$key'   Value '$val';
}
}


echo hr;
echo A HREF=\$PHP_SELF?i=am.a.do=one\Click to
activate test/a;
echo hr;

?




[2001-07-23 20:22:46] [EMAIL PROTECTED]

I've tested this problem on both php4.0.5 and 4.0.6, and it has also reproduced on 
other machines. I will not however, that this problem does not seem to occur on 
windows/apache machines.

the problem is that get vars using an arg_separator.output other than '' will be 
ignored when attempting to parse HTTP_GET_VARS.

there is an example avaliable at
http://wart.phpking.org/test.php
the source is visible at
http://wart.phpking.org/test.phps

a side note - it would seem that the transparent session info appended to a url by php 
will also not follow a new 'arg_separator.output' value.. for example - if i set the 
arg_separator.output to ';'..  my PHPSESSID will still be appended to the url with a 
''

-voudras





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12324 Updated: arg_separator.output broken

2001-07-31 Thread andy

ID: 12324
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: *Configuration Issues
Operating System: linux
PHP Version: 4.0.6
New Comment:

ok...  the problem exists in your script at

http://wart.phpking.org/test.php

but using the EXACT script that I created, it works fine...

Please use this one... (EXACTLY)

status - closed

Previous Comments:


[2001-07-31 10:55:35] [EMAIL PROTECTED]

i have gotten emails from people saying that they have reproduced
this error.  Can anybody from PHP verify this?  I have not been
able to reproduce this error (using the script in my last post.)



[2001-07-24 09:20:39] [EMAIL PROTECTED]

you have your params mixed up.  replace arg_separator.output
with arg_separator.input and things will work.  I modified
your script below.  This one works as you wanted it to.

?php
global $HTTP_POST_VARS,$HTTP_GET_VARS, $HTTP_COOKIE_VARS,
$PHP_SELF;

ini_set(arg_separator.input, ;);
define(a, ini_get(arg_separator.input));


if($HTTP_GET_VARS){
$total = count($HTTP_GET_VARS);
echo Displaying GET variables;
while(list($key, $val) = each($HTTP_GET_VARS)) {
echo br /Key: '$key'   Value '$val';
}
}


echo hr;
echo A HREF=\$PHP_SELF?i=am.a.do=one\Click to
activate test/a;
echo hr;

?




[2001-07-23 20:22:46] [EMAIL PROTECTED]

I've tested this problem on both php4.0.5 and 4.0.6, and it has also reproduced on 
other machines. I will not however, that this problem does not seem to occur on 
windows/apache machines.

the problem is that get vars using an arg_separator.output other than '' will be 
ignored when attempting to parse HTTP_GET_VARS.

there is an example avaliable at
http://wart.phpking.org/test.php
the source is visible at
http://wart.phpking.org/test.phps

a side note - it would seem that the transparent session info appended to a url by php 
will also not follow a new 'arg_separator.output' value.. for example - if i set the 
arg_separator.output to ';'..  my PHPSESSID will still be appended to the url with a 
''

-voudras





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12324 Updated: arg_separator.output broken

2001-07-24 Thread andy

ID: 12324
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: *Configuration Issues
Operating System: linux
PHP Version: 4.0.6
New Comment:

you have your params mixed up.  replace arg_separator.output
with arg_separator.input and things will work.  I modified
your script below.  This one works as you wanted it to.

?php
global $HTTP_POST_VARS,$HTTP_GET_VARS, $HTTP_COOKIE_VARS,
$PHP_SELF;

ini_set(arg_separator.input, ;);
define(a, ini_get(arg_separator.input));


if($HTTP_GET_VARS){
$total = count($HTTP_GET_VARS);
echo Displaying GET variables;
while(list($key, $val) = each($HTTP_GET_VARS)) {
echo br /Key: '$key'   Value '$val';
}
}


echo hr;
echo A HREF=\$PHP_SELF?i=am.a.do=one\Click to
activate test/a;
echo hr;

?


Previous Comments:


[2001-07-23 20:22:46] [EMAIL PROTECTED]

I've tested this problem on both php4.0.5 and 4.0.6, and it has also reproduced on 
other machines. I will not however, that this problem does not seem to occur on 
windows/apache machines.

the problem is that get vars using an arg_separator.output other than '' will be 
ignored when attempting to parse HTTP_GET_VARS.

there is an example avaliable at
http://wart.phpking.org/test.php
the source is visible at
http://wart.phpking.org/test.phps

a side note - it would seem that the transparent session info appended to a url by php 
will also not follow a new 'arg_separator.output' value.. for example - if i set the 
arg_separator.output to ';'..  my PHPSESSID will still be appended to the url with a 
''

-voudras





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]