RE: Howto check a parameter size in CGI.pm

2006-05-22 Thread Charles K. Clarkson
Wijaya Edward wrote: : Is there a way to determine the size of a parameter of a : textarea or filefield in CGI.pm? You can determine the length (using the length() function) of a field, but not the size of the control on the form. That information is not sent via the Common Gateway Interface.

Re: Howto check a parameter size in CGI.pm

2006-05-22 Thread JupiterHost.Net
Wijaya Edward wrote: Hi, Is there a way to determine the size of a parameter of a textarea or filefield in CGI.pm? For example, given this form. __BEGIN__ use CGI qw/:standard/; # snip textarea( -name=> 'some_name', -rows=> 10,

Howto check a parameter size in CGI.pm

2006-05-22 Thread Wijaya Edward
Hi, Is there a way to determine the size of a parameter of a textarea or filefield in CGI.pm? For example, given this form. __BEGIN__ use CGI qw/:standard/; # snip textarea( -name=> 'some_name', -rows=> 10, -columns