[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: file upload without apache::request
From:       Clinton Gormley <clint () traveljury ! com>
Date:       2006-02-21 18:08:19
Message-ID: 1140545301.5496.6.camel () obelix ! traveljury ! com
[Download RAW message or body]


>    my %params = $r->method eq 'POST' ? $r->content : $r->args;

Why not parse both and merge them?

But I would just use Apache::Request or CGI - they work, the authors
have thought of things that we wouldn't, etc...

It should be easy to replace the part of your code which reads in the
get/post params with the equivalent in Apache::Request

clint


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic