Kelvin Cheong writes:
 > import cgi
 > form = cgi.FieldStorage()
This gives you an empty "FieldStorage"
 > fileitem = form["userTABPIX1"]
In it, "userTABPIX1" is unknown.
 >      fname = tempfile.mktemp()
 >      fp=open(fname,'w')
 >      fp.write(
 >      fp.close()
Give your external method either the first argument "self"
or an argument "REQUEST".

In the first case, you can use "REQUEST=self.REQUEST" to
get the REQUEST object. In the second case, you use
REQUEST directly.

"REQUEST.form" contains the form variables of the REQUEST.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to