CGI under NT

Thomas Wouters thomas at xs4all.nl
Mon Jul 5 11:18:20 EDT 1999


On Mon, Jul 05, 1999 at 05:06:54PM +0200, dont at try.it wrote:


> Until now I wrote a script which takes alle parameters of the forms out of
> "QUERY_STRING". There is my problem. If I press the submit-button I get a
> Message that the script has problems to read the system-variable (because it
> is not there!), but if I call the script with the parameters directly
> (..../script.py?value=100&browser=netscape etc.) the script works.

> Can anyone helps me or give me a hint to more information on the web?

Use <FORM METHOD=GET ...> instead of METHOD=POST, or use a CGI module that
parses both POST and GET and returns them on an object. (Haven't worked with
CGI under Python yet, but I'm fairly certain there is such a module.)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list