Accessing POST variables in CGI scripts

Reply

Join Date: Mar 2008
Posts: 4
Reputation: Mike W is an unknown quantity at this point 
Solved Threads: 1
Mike W Mike W is offline Offline
Newbie Poster

Accessing POST variables in CGI scripts

 
0
  #1
Mar 23rd, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC