"eps com estem" <[EMAIL PROTECTED]> writes:

[...]

> <form ENCTYPE='multipart/form-data' method='post' action='blogum_new_article'>
> <input type='text' name='hola'/>
> <input type='file' name='eps'/>
> </form>
>
> And this is the error.log
>
> Apache::Upload::Table=HASH(0x11ee1c4) 0 at 
> f:/tools/apache2/lib/perl/Blogum/Generic.pm
> line 208.
> Apache::Request::Table=HASH(0x1304a50) 2 at 
> f:/tools/apache2/lib/perl/Blogum/Generic.pm
> line 209.
> hola = eps at f:/tools/apache2/lib/perl/Blogum/Generic.pm line 219.
> eps = aaaUntitled-1.gif at f:/tools/apache2/lib/perl/Blogum/Generic.pm line 
> 219.

>From this, it looks to me like libapreq is parsing the POST data correctly
(the gif filename showing up as the eps param value is a tell-tale sign that
the upload was parsed ok).  So the now question is: why isn't $mm->upload()
detecting that body table entry as being an upload?

See if you can get at the file upload in another way, like 

    my $upload = $req->upload("eps") or
        die "Can't locate 'eps' upload";

Also see what happens if you change the form to just a single file
upload, with no other fields.


-- 
Joe Schaefer

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to