thanks... ap_unescape_url() does make things easier. it still doesn't seem like there is an easy way of fully parsing the query string (i.e. getting a value from a field). I wrote a quick little function that does it but it would seem useful to have something there, it seems like a common need. -Matt
--- On Sat, 2/21/09, Nick Kew <[email protected]> wrote: From: Nick Kew <[email protected]> Subject: Re: uri encoding/decoding To: [email protected] Date: Saturday, February 21, 2009, 4:30 PM On Sat, 21 Feb 2009 13:48:10 +0200 Graham Leggett <[email protected]> wrote: > Matthew Rushton wrote: > > Hi, > > Anyone know of any uri query string encoding/decoding functions > > that exist to module writers. I'm about to write my own which > > should be simple enough just didn't want to reinvent the wheel. I > > couldn't find any that existed. Thanks! > > One of these should do the trick: Alternatively, look in apr_uri. An apache module has access to everything in apr and apr-util. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
