Bug #12880 Updated: arg_separator.output does not get used
| From: | sniper@php.net | Date: | Wed, 22 Aug 2001 04:33:28 +0000 |
| Subject: | Bug #12880 Updated: arg_separator.output does not get used | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64006@lists.php.net to get a copy of this message | ||
ID: 12880
Updated by: sniper
Reported By: dank@cse.unsw.edu.au
Status: Bogus
Bug Type: *Configuration Issues
Operating System: Debian GNU/Linux (potato)
PHP Version: 4.0.6
New Comment:
Set the arg_separator.input to ';&' and it will
do what you want.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-21 19:08:53] jeroen@php.net
It is the browser what puts the & between the vars, because there's no way the browser can
see the arg-seperator.
arg_separator.output has only effect on PHP-generated arglists. (IIRC, that's currently only
with adding php-session var)
So, this is not a bug.
------------------------------------------------------------------------
[2001-08-21 11:54:24] dank@cse.unsw.edu.au
I set both arg_separator.output and arg_separator.input to ';' in my php.ini,
and when I have a query string of the form
asdf=1;qwerty=2
PHP parses it into 2 separate variables, showing that arg_sepatator.input
works, but when I have PHP generate a query string (by setting the method
to GET in a form) PHP would create
asdf=1&qwerty=2
which it then parses into a single variable asdf (cos the input separator is ';')
thanks,
dan
p.s. both phpinfo() and ini_get have confirmed that the options have been set correctly, so I am
guessing it's a bug
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12880&edit=1