On Wed, 22 Dec 1999, Dmitry Beransky wrote:
> At 11:52 AM 12/22/99 , Ken Y. Clark wrote:
>
> >so it now works, but i feel kinda dirty. and here's the last bit of
> >strangeness: i have another page that is generated in the same manner
> >that works just fine. the only difference is that the perl sub generates
> >a form that is *not* enctype="multipart/form-data". both forms do,
> >however, POST their data.
>
> I'm not sure if I completely understand the problem at hand, but part of
> it, I think, is in trying to use $r->content with multipart/form-data data
> encoding. $r->content only works with application/x-www-form-urlencoded
> data (see the documentation for Apache.pm). To retrieve POSTed data in a
> multipart format you need to use $r->read or Apache::Request (see the docs
> for details).
>
> Cheers
> Dmitry
granted, i did a poor job explaining my situation. sorry about that. your
point about using content, though, was correct -- at least according to
the docs. i had missed that point, even though it is clearly stated in
the eagle book and the Apache man page. interestingly enough, that is not
my problem. all the hacks i've been doing are just to read the query
string on GET's. i don't like my solution, but i'll be releasing these
packages soon under an open-source agreement, so maybe more eyes on the
problem will help produce a better/correct solution.
ky