CGI under NT

dont at try.it dont at try.it
Mon Jul 5 12:47:49 EDT 1999


Hi Thomas,

I never used post as method, but I used get. If I am using post I have to
read the values out of an file which path is specified in CONTENT_FILE. It
is more to code if I use method=post.

Yes, I could use a module like cgi, but I don't want to do it. It must work
without it.

Do you know more about it?

Greetings
Moritz Schmitt

Thomas Wouters <thomas at xs4all.nl> schrieb in im Newsbeitrag:
19990705171820.L26497 at xs4all.nl...
> 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