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

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to