Casey Bralla on 21 Nov 2011 17:17:26 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Python CGI Problem w/ GET and POST

Any python CGI programmers on the list?


I've got a weird problem. I can use the "get" command to send data to my cgi script (running python), but if I use "post", I get no data at all.


So on the web page, I'll have something like:


<FORM action="" method="get">

<INPUT type="submit" value="Project Summary" >



This works, and the cgi.FieldStorage() routine correctly picks up the data sent with the input command. Also, the data appears on the URL line.


However, if I substitute a "post" for "get", the URL line is blank (as it should be), but cgi.FieldStorage is completely null.



Anybody have any ideas what is going on?





Casey Bralla

Chief Nerd in Residence


The NerdWorld Organisation

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --