RE: [PHP-WIN] how to show image from mssql server

From: Date: Wed, 15 Aug 2001 13:23:20 +0000
Subject: RE: [PHP-WIN] how to show image from mssql server
Groups: php.windows 
Request: Send a blank email to php-windows+get-8872@lists.php.net to get a copy of this message
Long time I saw that, but I believe you should be able to give a reference on the IMG directivity to a script, and the script should then query the database for the image. Some thing like: <IMG src="MyImageScript.php" alt="Stupid bandwith wasting picture"> /Anders >-----Original Message----- >From: sur-php [mailto:sur_php@yahoo.com] >Sent: Wednesday, August 15, 2001 7:05 AM >To: php-windows@lists.php.net >Subject: [PHP-WIN] how to show image from mssql server > > >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 > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net >For additional commands, e-mail: php-windows-help@lists.php.net >To contact the list administrators, e-mail: >php-list-admin@lists.php.net >

« previous php.windows (#8872) next »