| 
    Philippe Schottey 
    phillscot at mac.com
        Sun Apr 8 14:31:40 EDT 2007 
 Hello,
This is the first time i'm using python and mod_python.
The hosting company only wants to use the cgi_handler.
I have some problems retrieving POST and GET parameters.
I've read somewhere that this should do the trick:
import cgi
form = cgi.FieldStorage()
value = form[key]
When I'm trying this, the form object is allways empty.
The form code:
		<form name="main" action="test.py" method="POST">
			<input type="hidden" name="action" id="action" value="good"/>
             <input type="submit"/>
		</form>
I can't seem to retrieve the action parameter.
Help.
Thanks,
Philippe Schottey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070408/c7eebbb3/attachment.html
    
  |