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?

sorry my english ;)

thanks



Reply via email to