in reply to enctype required??

Based on the code snippet it looks like you might be using Apache::ASP. It's probably not a good idea to use CGI with Apache::ASP together, since you can already get at all the form values through the $Request object.

Update: The Apache::ASP docs say this isn't true, but I wonder how that works with the recent changes in CGI.pm

Replies are listed 'Best First'.
Re^2: enctype required??
by davidg (Initiate) on Apr 03, 2005 at 00:58 UTC
    You are correct in that I am using Apache::ASP.

    If I use $Request->Form('thedata'); to get the data it works.

    The problem is that I have lots of older code that uses the CGI that was changed into ASP code. The CGI should work in the ASP model.

    I guess the decision is which would take more time, changing the forms or changing the code....

      What happens if you add
      <%=$Request->ServerVariables(CONTENT_TYPE) %>
      in your page somewhere (using the first version of your form)?
        The response to <%=$Request->ServerVariables(CONTENT_TYPE) %> is:
        application/x-www-form-urlencoded
        as expected. It must be a CGI thing.