[Zope] Extracting binary data from image

Martijn Pieters mj@antraciet.nl
Wed, 07 Jul 1999 10:49:19 +0200


At 10:35 07/07/99 , Phil Grove wrote:
>hello all,
>
>any ideas on why i get an error when i execute the following:
>
><!--#var expr="REQUEST.newImage.data"-->
>
>this is coming in from a form, with ENCTYPE set to multipart/form-data, but
>it throws up an error.
>
>Also does anyone know where there is a complete list of all the properties
>of the REQUEST object?
>
>Cheers in advance,
>
>Phil.

You can debug the REQUEST object by stating: <!--#var REQUEST--> in your DTML.

I can't remember what way it is formatted in the current stable release of 
Zope. You might want to put <PRE></PRE> around that var tag.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------