Does not work, but if I put in the ENCTYPE<html> <head><title>Pay Memo</title> </head> <body> <form name="testform" method="post" action="step2.asp"> <input type="hidden" name="id" value="1234"><br> <input type="text" name="thedata"><br> <input type="submit" name="submit_button" value="Test +It"> </form> </body> </html>
it does work. The reading program is this:<html> <head><title>Pay Memo</title> </head> <body> <form name="testform" method="post" enctype="multipart/form-da +ta" action="step2.asp"> <input type="hidden" name="id" value="1234"><br> <input type="text" name="thedata"><br> <input type="submit" name="submit_button" value="Test +It"> </form> </body> </html>
The first example code works fine under mod_perl 1. Any help as to why the ENCTYPE is required now, under mod_perl2, but not under mod_perl 1 would be appreciated. Thanks<% use strict; use CGI; my $q = new CGI; my $data = $q->param('thedata'); %><html> <head><title>Test Script</title> <meta http-equiv="Content-Type" content="text/html; charset=is +o-8859-1"> </head> <body> Got:<%=$data%> </body> </html>
In reply to enctype required?? by davidg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |