[Zope] Newbie: upload and MySql

Jonothan Farr jfarr@real.com
Tue, 21 Mar 2000 14:50:27 -0800


> b) How can I simply affiche (if I find a PB) the
> upload content in browser?
>
> c) How can insert uploaded content in MySql. I Have to
> use:


manage_upload is used to modify the contents of a file object. It sounds like
what you want is simply:

<dtml-var "REQUEST['c_body'].read()">

or:

VALUES
(
'<dtml-var c_title>',
'<dtml-var "REQUEST['c_body'].read()">'
)

-jfarr