[Zope-dev] (no subject)

Dieter Maurer dieter@handshake.de
Fri, 16 Mar 2001 21:07:13 +0100 (CET)


Menno Brandsen writes:
 > I'm trying to insert (and retrieve) images into a mysql database I use a
 > standard upload form and a normal insert statement in the sql.
 > The output i get is this : <ZPublisher.HTTPRequest.FileUpload instance at
 > 86550c8> which is clearly not the correct data
To get the file content, you call the object's "read" method:

   <dtml-sqlvar "uploadImage.read()" type=string>


Dieter