hi again,

I've made some tests and debuging, the problem seems to be in CGI module...
first of all in eg/file_upload.asp   this :

print $q->start_multipart_form();

returns this :

<FORM METHOD="" ENCTYPE="multipart/form-data">

do U see no POST (the interesting thing is that $r->method returns GET in
this case i didn't knowed that :") ).. even when I make it manualy and put
debuging code into $Request object multipart handling
............
if($@) {
                $self->{asp}->Error("can't use file upload without CGI.pm:
$@");
            } else {
                my %form;
                my $q = $self->{cgi} = new CGI;
                $self->{debug} = '-->'.$q->param('xxx');# <=================
there is one more text field in the form named 'xxx'
                for(my @names = $q->param) {
                    my @params = $q->param($_);
......

I get nothing.... into $$Request{debug}

SO CAN SOMEONE TELL ME FROM WHERE I CAN GET CGI with LOWER VESRION THAN 3.02
:"(


Thanx alot
=====
iVAN
[EMAIL PROTECTED]
=====




> ivan wrote:
> >
> > hi there ,
> >
> > I encoutred a problem with ASP.pm (ver.2.17) and multipart form what is
> > happening is that when I try to use "file" fields I get something like
this
> > into the log
> >
> > [Mon Jul  9 23:20:22 2001] [error] [client 192.168.0.5] Invalid method
in
> > request -----------------------------7d11b8668d0668
> > [Mon Jul  9 23:20:41 2001] [error] [client 192.168.0.5] Invalid method
in
> > request -----------------------------7d13c1268d0668
> > [Mon Jul  9 23:21:41 2001] [error] [client 192.168.0.2] Invalid method
in
> > request -----------------------------7d17811a20
> >
> > if the form is normal (w/o enctype="multipart/form-data" ) I'm getting
> > normally data into $Request.. nothing is crashing just I'm getting
nothing
> > into $Request collection...
> >
>
> Can you get the ./site/eg/file_upload.asp example working from
> the distribution?  If so, see what's different about your script.
> I believe I'm running the same Apache + modperl now too, and I
> have never seen the problem you report, Apache 1.3.20, mod_perl 1.25
>
> BTW, from the error, it doesn't look like it has to do with Apache::ASP.
> Maybe someone from the modperl list will give you some better info
> specific to modperl.
>
> -- Josh

Reply via email to