I used of examples these 2 archives but dont functioned
in mp1 i dont have problem
my mp2 version is last cvs version
thanks
nattis
Stas Bekman wrote:
Udlei Nattis wrote:
hi,
i have problem for upload files testing use CGI and CGI::Simple
look file.pm:
$cgi = CGI->new; $r->print($cgi->param("test")." xxx ");
file .html
<form action="end" method="post" enctype="multipart/form-data"> <input type="file" name="image"> <input type="hidden" name="test" value="abcdef"> <input type="submit"> </form>
when i add enctype param("test") return undefined value and wne i remove enctype param("test") print "abcdef"
my question is: why when i add enctype, param("test") return undefined value?
Does the same program works with mp1? Do you use the latest mp2 (at least 1.99_08), better cvs?
The 2.0 test suite has an upload file test (CGI.pm) and it works fine with the current mod_perl. Please look at the pair:
t/modules/cgiupload.t
t/response/TestModules/cgiupload.pm
in the mod_perl source.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com