#29204 [NEW]: problem with GET string
| From: | informatique at crt-bourgogne dot fr | Date: | Fri, 16 Jul 2004 09:39:18 +0000 |
| Subject: | #29204 [NEW]: problem with GET string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-62461@lists.php.net to get a copy of this message | ||
From: informatique at crt-bourgogne dot fr
Operating system: Win XP
PHP version: 5.0.0
PHP Bug Type: Output Control
Bug description: problem with GET string
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 bug report at http://bugs.php.net/?id=29204&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29204&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29204&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29204&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29204&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29204&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29204&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29204&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29204&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29204&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29204&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29204&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29204&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29204&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29204&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29204&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29204&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29204&r=float