what you get from the form is a FileUpload object, so try this:
and you will find out that it has a method called
which returns the data of the uploaded file.
From: "Menno Brandsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Fri, 16 Mar 2001 03:46:45 +0100
Subject: [Zope-dev] (no subject)
I have a question regarding images in a MySQL Database
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
Can someone help me out with this, i need to get the data from the image in
some sort of way, but i dont know how to do this !
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -