Philip Mak wrote:
>
> Is there an Apache::ASP function that works like $q->param() in CGI.pm?
>
> That is, a function that works like this:
>
> $ENV{REQUEST_METHOD} eq 'POST'
> ? $Request->Form('var')
> : $Request->QueryString('var')
>
> so that it automatically decides whether to get the variable from the Form
> or the QueryString for me.
>
Whoops, I forgot to document this in the config section:
$VERSION = 2.09; $DATE="01/30/2001";
+PerlSetVar RequestParams 1 creates $Request->Params
object with combined contents of $Request->QueryString
and $Request->Form
-- Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]