Re: Proposed Function: urlencode_array
| From: | Curt Zirzow | Date: | Fri, 29 Aug 2003 06:07:24 +0000 |
| Subject: | Re: Proposed Function: urlencode_array | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4239@lists.php.net to get a copy of this message | ||
* Thus wrote Sara Golemon (pollita@php.net):
> proto urlencode_array(array formdata [, string numeric_prefix])
>
> Purpose: Generate a form encoded query string from an associative (or
> indexed) array.
Can this not be done easily with array_walk?
I think this might also encourge people to use extremly long query
strings, which will break when it gets to a certain length. I
believe, off hand, 255 bytes is what is suggested max length for a
query string.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."