ID:               29204
 Updated by:       [EMAIL PROTECTED]
 Reported By:      informatique at crt-bourgogne dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: Win XP
 PHP Version:      5.0.0
 New Comment:

"5B" is the hex code for "[". In URLs, certain characters have to be
replaced (encoded) by their hexadecimal value, as in this case. So this
is expected behavior. If you do a Google search for "ListeObjet[]", the
same effect can be seen. It's browser thing btw, not a PHP thing.



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

[2004-07-16 11:39:17] informatique at crt-bourgogne dot fr

Description:
------------
In a form, i've 5 checkbox with same name : 
echo "<input name='ListeObjet[]' type='checkBox'
value='HOT'>Hôtel<br>\n";
...
But, when i validate the form, i've this in adress bar:
http://localhost/index.php?ListeObjet%5B%5D=HOT&ListeObjet%5B%5D=HLO&Step=2&image=Envoyer

So, the "[" is remplace by "%5B".
Sometimes, i've the same mistake with "&" whose remplace by "%26".

And.. i can't use the $_GET[] variable 'cause the result is allways
wrong!

Sorry for my poor english, i'm french! :o)
 



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


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

Reply via email to