Christoph wrote:
> Hello,
>
> I'm currently programming a webmail interface with php 4.1.2 and
> c-client 2001.
> I'm getting the Mime data from the mail.
> Now I have the image data as text but how I can get it into an <img>
> field?

At first, you'll have to convert the data back to binary using the encoding
specified in the header (of that MIME part). Then you'll have to save the
image to the disk (or to a database), after which you can use the <img> tag.
Be sure to give the filename the correct extension (which you can gain using
the content-type, also specified in the header of that MIME-part).

Grtz Erwin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to