On Wed, 26 Apr 2000, David Hajoglou wrote:

> so, is it possible to take a GET request and rewrite the uri into a POST
> request and if so how?

i'm not sure if that's really necessary.  you could just put the GET args
into $r->pnotes, perhaps like so:

sub handler {
    my $r = shift;
    return DECLINED unless $r->is_main();

    my $apr    = Apache::Request->new($r);
    my @params = $apr->param;
    my %args   = ();
    $args{$_}  = $apr->param($_) for @params;
    $r->pnotes('args', %args);
    return OK;
}

ky

Reply via email to