[Tutor] Re: Is Python powerful enough for this?

Lloyd Kvam lkvam@venix.com
Thu, 30 Aug 2001 11:44:38 -0400


Python is a terrific CGI scripting language.  Make sure your web server is properly configured for running Python.  A good starting point for how to do Python CGI scripts is:
http://www.python.org/doc/essays/ppt/sd99east/

A wrote:
> 
> Hi,
> I have some webpages that contain FORMS. Each form has input
> fields and also some hidden fields.
> How can I easily get urlencoded string from all these fields
> like
> Key1=Value1&Key2=Value2&Key3=Value3
> 
> For example:
> I have a following web page
> <html>
> 
> <head>
> </head>
> <body>
> <form method="POST" action="c.cgi">
>   <p><input type="text" name="T1" size="20"></p>
>   <p><input type="checkbox" name="C1" value="ON"></p>
>   <p><textarea rows="2" name="S1" cols="20"></textarea></p>
>   <p><input type="submit" value="Submit" name="B1"><input
> type="reset" value="Reset" name="B2"></p>
> </form>
> </body>
> </html>
> 
> >From the above
> I would like to receive
> T1=&S1=&C1=&B1=Submit
> 
> Thank you for help.
> Ladislav
> _______________________________________________
> ActivePython mailing list
> ActivePython@listserv.ActiveState.com
> http://listserv.ActiveState.com/mailman/listinfo/activepython

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:	603-443-6155
fax:	801-459-9582
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
http://listserv.ActiveState.com/mailman/listinfo/activepython