how to show image from mssql server
| From: | sur-php | Date: | Wed, 15 Aug 2001 05:04:55 +0000 |
| Subject: | how to show image from mssql server | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8862@lists.php.net to get a copy of this message | ||
Hello php-windows,
This is my query:
$query= " select Image from ImageTable where MainCode='040191' ";
it returns data like this..
0x424d2e040000000000003e00000028000000770000003f000000010001000000
0000f00300000000000000000000020000000000000000000000ffffff00ffffff
fff03fffffffffffffffffff00f03fffffe01ffffffffffcff8fffff00e00fffff
cfcfff7ffffff8ff07ffff00cfc3ffff9fe7ff3ffffff87f33ffff00
i know that this is BLOB data...
(which are actually small bmp files)
so how can i show it in web page....
--
Best regards,
sur-php mailto:sur_php@yahoo.com