| | |
Accessing POST variables in CGI scripts
![]() |
•
•
Join Date: Mar 2008
Posts: 4
Reputation:
Solved Threads: 1
I'm currently writing a set of small scripts for a web page. I've retrieved the GET variables using cgi.parse_qs and the query string, but can't figure out how to access the POST variables. I know you can use FieldStorage to access both GET and POST variables, but would like to be able to just view POST variables.
I've tried looking through the source code of both cgi and a couple of frameworks, but it either goes over my head or I can't find the relevant code.
Any help is appreciated.
Thanks
Mike
I've tried looking through the source code of both cgi and a couple of frameworks, but it either goes over my head or I can't find the relevant code.
Any help is appreciated.
Thanks
Mike
![]() |
Other Threads in the Python Forum
- Previous Thread: Zoom in, s60 image
- Next Thread: procedure scope in python
| Thread Tools | Search this Thread |
alarm app beginner cipher cmd coordinates cx-freeze data decimals development dictionary directory dynamic error examples feet file float format function generator getvalue gui halp homework http images import input ip itunes java keycontrol leftmouse line linux list lists loop maintain maze millimeter module mouse mysqldb number numbers output parsing path port prime programming projects push py2exe pygame pyglet pymailer pyqt python queue random recursion schedule screensaverloopinactive script scrolledtext slicenotation split sqlite ssh string strings sudokusolver terminal text thread threading time tlapse tooltip tuple tutorial ubuntu unicode url urllib urllib2 variable variables ventrilo verify vigenere web webservice wikipedia wx.wizard wxpython xlwt





