Hi,

Having trouble reading input from a form on an asp page. Works on another
server and also on this server but with vb script.

code:

<%@ language = perlscript %>

<form action = "test.asp" method="post">
Please enter username to unlock:
<input type="textfield" name="username">
<input type="submit" value="unlock">
</form>

<% my $username = $Request->Form('username')->Item();
   $username = $Server->HTMLEncode($username);
%>

end code:

I am getting that I can't use the method "Item" on an undefined value.

I am using perl 5.8.0 build 806 w IIS 5.0

Thanks for any help in advance.

martin

-------------------------------------------
Martin Douglas
Network Programmer
Information Technology Services
University of Western Ontario
[EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to