Storing Data from both POST variables and GET parameters

Posted by Ali on Stack Overflow See other posts from Stack Overflow or by Ali
Published on 2010-04-11T04:00:05Z Indexed on 2010/04/11 4:03 UTC
Read the original article Hit count: 508

Filed under:

I want my python script to simultaneously accept POST variables and query string variables from the web address.

The script has code :

form = cgi.FieldStorage()
print form

However, this only captures the post variables and no query variables from the web address. Is there a way to do this?



© Stack Overflow or respective owner

Related posts about python

Related posts about cgi