ID:               6685
 Comment by:       flystop at gmx dot net
 Reported By:      [EMAIL PROTECTED]
 Status:           Wont fix
 Bug Type:         Scripting Engine problem
 Operating System: *
 PHP Version:      4.0.2
 New Comment:

The problem is not only the conversion of spaces but all characters not
allowed in variable names. With register_globals=Off the keys in the
superglobals should not be changed I think. Sometimes it IS important
to use the original names (e.g. in my case passing cookie-data to
external pages which use dots in cookie names).

I do think many people who rely on the translation could have problems
if it is removed completely.

Maybe a configuration option could be used? This way everybody can
decide to use the translation or not.


Previous Comments:
------------------------------------------------------------------------

[2002-06-02 13:29:50] [EMAIL PROTECTED]

Seems not important enough to anybody... suspending.

------------------------------------------------------------------------

[2000-11-21 15:37:35] [EMAIL PROTECTED]

well why do you think are cased variables needed? why do we
need to be able to use variables containg �,�,� etc.

I'd say escpecially with variable variables this could be
useful in some cases

------------------------------------------------------------------------

[2000-11-21 03:35:41] [EMAIL PROTECTED]

I think that having spaces in variable names is not
a good thing (tm). could someone please explain me 
how it would be useful at all?

--Jani

------------------------------------------------------------------------

[2000-09-16 17:59:27] [EMAIL PROTECTED]

On the second though, you _can_ have variables with spaces (actually,
you can name variable with every string you can put into variable), so
I don't quite understand the maning of that variable name translation.
Do we really need it? Anybody will have problems if we remove it?

------------------------------------------------------------------------

[2000-09-12 13:46:32] [EMAIL PROTECTED]

since we all (almost) agree that register_globals should be deprecated
ASAP and array indices with spaces are legal and URIs containg
QUERYSTRING with them too, well at least the $HTTP_GET_VARS array
should contain the non-converted information, if register_globals=on
this mechanism can be applied for global variables

We shouldn�t obscure URI data.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/6685

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

Reply via email to