Re: [PHP] PHP - Oracle - BLOBs - Display BLOB data in a table

2003-12-03 Thread Justin Patrin
Actually, I would suggest using two scripts. The first takes the id of the row as a GET parameter (say $id) and grabs the image data, sends the header, and echoes the data. The second script outputs a web page with an img tag. As such: image.php page.php Image.jpg Chris W. Parker wrote:

RE: [PHP] PHP - Oracle - BLOBs - Display BLOB data in a table

2003-12-03 Thread Chris
You would need to have two separate pages, theimage.php and displayimage.php. theimage.php will just return the image data in a readable format the browser knows is an image.: displayimage.php will be a normal php page with an image tag like this: Chris -Original Message- From: Ahbai

RE: [PHP] PHP - Oracle - BLOBs - Display BLOB data in a table

2003-12-03 Thread Chris W. Parker
Ahbaid Gaffoor on Wednesday, December 03, 2003 2:46 PM said: > I have written the first half of my application which stores images in > BLOB fields of an oracle database. > > This part of my app. works fine. > > I am now trying to download the database stored blob