Re: http_build_query ... argh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 09 November 2006 10:22, Jochem Maas wrote:

> apparently http_build_query() has been 'fixed' so that it now
> urlencodes square brackets (and if you have never used square brackets in
> a url pointing a php script then your obviously new here ;-)
>
> this is fine - apart from the fact that I have a rather complex generic
> thingy that not only uses http_build_query() to build actual URLs but
> also to generate the input names of hidden form fields (sometimes
> one needs/wants to place a stack of request arguments as hidden inputs
> instead of as GET parameters of a URL.

Er, wouldn't the better solution be to fix http_build_query to not break when 
handling fairly typical PHP URLs?

-- 
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux