IMHO there was a problem that in Embperl.pm is ONLY conditional
$ENV{'CONTENT_TYPE'}=~m|^application/x-www-form-urlencoded|
but should be
$ENV{'CONTENT_TYPE'}=~m|^multipart/form-data| too.

I added it to my Embperl.pm module


E-mail: [EMAIL PROTECTED]

On Wed, 21 Feb 2001, John Walstra wrote:

> I just update our development server to Embperl-1.3.1. I ran into to the
> problem with fdat being empty after a post. I soon discovered if I put a 
>"enctype='multipart/form-data'" in the form tag, fdat would be empty. If I removed 
>it, fdat would have my data in it. Any known problems here? Here is my little test 
>script. I monitor the apache "error_log" for the results.
>
> [-
>
>   use Data::Dumper;
>   print STDERR Dumper( \%fdat );
>   print STDERR Dumper( \%udat );
>   $udat{hi} = $fdat{asdf};
>
> -]
>
> <html><body>
> <form method=post enctype="multipart/form-data">
> <input type=text name=asdf>
> <input type=submit></form>
> </body></html>
>
>
> --
> John Walstra                                         CNET Networks
> Senior Software Developer, Jack Of All Trades        300 Park Blvd, Suite 105
> mailto:[EMAIL PROTECTED]                                Itasca, IL 60143-4914
> Phone: 630.438.7000 x1304                            Fax: 630.775.0555
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to