On Tue, Jul 19, 2005 at 02:54:13PM +0100, Neville Hodder wrote: > <FORM>
* Invalid HTML. The action attribute is required. * You haven't specified an enctype, but the default is unstuiable for use with file inputs. * You haven't specified a method, and the default (get) is unsuitable for use with file inputs. http://www.w3.org/TR/html4/interact/forms.html#h-17.3 > <P><INPUT type=\"file\" value=\"file\"> Funny looking paragraph ... Inputs without names cannot be successful form controls. http://www.w3.org/TR/html4/interact/forms.html#h-17.13.2 > <INPUT type=\"text\" name=\"words\" value=\"default\" size=\"10\" > maxlength=\"15\"> > <INPUT type=\"submit\" name=\"file\" value=\"Apply\"></P> > <P>The file is: $ENV{QUERY_STRING}.</P> Use CGI.pm. Don't try to access CGI related enviroment variables directly. CGI.pm solves most of the problems you will run into already. > </BODY> > </HTML> > </FORM> You should pay a visit to http://validator.w3.org/ -- David Dorward http://dorward.me.uk -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>