i've got a psp page with about 4 lines of code on it, which isnt working. I've imported cgi, and i have the following lines of code: <% form = cgi.FieldStorage() formname = form["name"].value %> some html <%=formname%>
when i submit the form to this page, i get the error: fileitem = form["name"].value File "/usr/local/lib/python2.1/cgi.py", line 550, in __getitem__ raise KeyError, key KeyError: name But i KNOW there is a form field called name. In fact in the debug info under the HTTPRequest field. I'm guessing instead of using cgi.FieldStorage i have to access the HTTPRequest class in some way. Can anyone point me to some sample code that shows me the correct way of doing this? thanks _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
