Re: downside to passing "[]" characters in URL?

From: Date: Mon, 20 Nov 2000 20:54:44 +0000
Subject: Re: downside to passing "[]" characters in URL?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26332@lists.php.net to get a copy of this message
i think it would be better, if u would write the value, in the array in another variable first, and then use it in a link
Aha! Kind of like: (in the example below) URL.php?variablename=value&somethingelse=10 Then on the receiving side, put them back together into the array I need? Interesting idea. I'll try it. Thanks!
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?


« previous php.general (#26332) next »