stockton Posted May 27, 2007 Share Posted May 27, 2007 Can someone suggest a method whereby one retrieves an Oracle BLOB & subsequently display same on a HTML page? If possible an example would be great. Quote Link to comment https://forums.phpfreaks.com/topic/53147-solved-displaying-blobs-on-web-page/ Share on other sites More sharing options...
Feenix566 Posted July 3, 2007 Share Posted July 3, 2007 $get_doc = OCIParse($DB, "select filename, blobfile from table"); if(!OCIExecute($get_doc)) exit('failed to search for documents'); while($doc = oci_fetch_array($get_doc, OCI_NUM+OCI_RETURN_LOBS)) echo $doc[0] . "\n" . $doc[1] . "\n"; OCIFreeStatement($get_doc); Quote Link to comment https://forums.phpfreaks.com/topic/53147-solved-displaying-blobs-on-web-page/#findComment-288868 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.