Extracting binary data from image
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. --------------------------------------------------------------------- Phil Grove phil.grove@flg21.com Web Development 0113 2949494 flg21 http://www.flg21.com ---------------------------------------------------------------------
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 ------------------------------------------
participants (2)
-
Martijn Pieters -
Phil Grove