Thanks Zac!
Actually, thank you everyone. Just for reference, phpbuilder has another
article for showing images directly from a db, including the PHP scripts...
http://www.phpbuilder.com/columns/fl...14.php3?page=1
But the MIME one you showed was also useful (for another project)
Robert
"Zac Hester" <news@planetzac.net> wrote in message
news:3f68dad4$1@news.enetis.net...[color=blue]
> paul brown wrote:
>[color=green]
> > Yes, but how would one do it in the context of surrounding it with an
> > html page, and not just the image itself?
> >
> > paul
> > BKDotCom wrote:
> >[color=darkred]
> >> [snip: answer to question]
> >>[/color][/color]
>
> BK answered your question (twice), but there's another possible answer
> depending on your delivery context. If you're serving pages over WWW,
> just use the "img" tag to point to your PHP script that prints the image
> (like BK said). However, if you're using PHP to generate a MIME
> encoded document (such as an email), you can also put the image data in
> the HTML tag (so people aren't requesting a document on your server
> every time they open that email message). If you are, in fact, creating
> a MIME document, have a look at this article that has really good info
> on MIME formats:
>
>
http://www.phpbuilder.com/columns/kartic20000807.php3
>
> HTH,
> Zac
>[/color]