Re: [mp2] query_string

[prev] [thread] [next] [Date index for 2005/02/18]

From: William Ross
Subject: Re: [mp2] query_string
Date: 15:18 on 18 Feb 2005
On 18 Feb 2005, at 13:11, Geoffrey Young wrote:

>
>
> William Ross wrote:
>> hello list.
>>
>> very dumb question for you: with mod_perl2 and apreq2, what is the
>> proper way to get the raw query string?
>
> using just the mp2 api its $r->args, just like mp1
>
> http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#C_args_
>
> using apreq2 it looks like you would need $apr->env->args, since 
> $apr->args
> returns a table not the unparsed string.

Lovely. Thank you. I knew there would be a clean way to do it.

best

will

[mp2] query_string
William Ross 12:01 on 18 Feb 2005

Re: [mp2] query_string
Geoffrey Young 13:11 on 18 Feb 2005

Re: [mp2] query_string
William Ross 15:18 on 18 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52