While straighten will returns parsed GET
query string
parameters there are times (i.e. in HTML <form>
processing) when
the body of the request contains a URL encoded query string as well.
parse_query(query)
query | query string to decode |
---|
This function will take any query string and return a named list of the paremters. Both the names and values will be URL decoded.
parse_query("a=1&b=test")