At 23:23 -0800 12/26/02, tan tan wrote:
Hi,

Is anyone know how to view image that is stored in
mysql as binary format to
a browser ?

Thank you.
Once you pull your image data from MySQL (I assume you're using some
kind of script for this), then you do this the same way you'd do it
if MySQL weren't involved.  Send your HTTP headers to indicate the
MIME type and the length, a blank line, and the image data.

If you want some example code in Perl, get the webdb distribution at
http://www.kitebird.com/mysql-perl/ and look in the distribution's
image directory.


sql, query

---------------------------------------------------------------------
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to