in reply to Re: enctype problem in CGI
in thread enctype problem in CGI

Boris

That IS the output from the code.

POST is the default method - so the fact that my code does not have it means nothing.

If you re-read the my post you will see the ENCTYPE is the source of my confusion. Of course there should only be one. Of course, the default should be "application/x-www-form-urlencoded".

Any other ideas ?

Replies are listed 'Best First'.
Re^3: enctype problem in CGI
by borisz (Canon) on Mar 27, 2005 at 00:55 UTC
    Yes, use the encoding type explicit in your code. Since it looks, the default has changed.
    print $q->start_form( -enctype => "application/x-www-form-urlencoded", -action=>"myAction.pl");
    Boris

      Boris,

      as per the posted code ... tried & failed (both ways)

      -enctype => "application/x-www-form-urlencoded"

      and

      -enctype=>&CGI::URL_ENCODED
        Since it worked for me, you might consider a update of CGI. I used version 3.04 on osx.
        Boris