downside to passing "[]" characters in URL?
| From: | Derek Sivers from CD Baby | Date: | Mon, 20 Nov 2000 20:03:41 +0000 |
| Subject: | downside to passing "[]" characters in URL? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26317@lists.php.net to get a copy of this message | ||
Is there any downside to passing an array value like this, actually using the [] characters?
<a href="http://something.org?variable[value]=10">link</a>
I see the web browser replaces it with "?variable%5Bvalue%5D=10"
... but it seems to work anyway.
Can you think of any reason NOT to do this?
Is there a better way? Should I serialize it?
Thanks!