[dev] RC1: lib/MIME/Viewer/msword.php - possible problem
Jan Schneider
jan@horde.org
Mon, 12 Nov 2001 22:55:26 +0100
Zitat von Barry Flanagan <barryf-lists@online.ie>:
> Hi,
>
> Using Horde/IMP RC1, viewing attachments with wvHtml does not appear to
> be
> able to locate the .png files being created. On my system they are
> getting
> created OK in /tmp, and the text part of the document is getting sent,
> but
> the images are broken, with the URL pointing to the right image name, but
>
> under the imp document root.
>
> From registry.php:
>
> $conf['tmpdir'] = '/tmp';
>
> ...I haven't made any changes other than enabling wvHtml.
Hm, that's not too easy to fix.
The problem is that wvHtml stores the embedded images in the same directory
as the generated html file, that is the tmp directory.
If the images shall be displayed we must allow the webserver to generate
files in the webtree, but that includes some security issues.
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::