ac senthilkumar's blog
________________________________________________________________________________________
Wednesday, December 31, 2008
Fetch and display the image(bytea) from postgres DB
$image = stripcslashes($row[1]);
header("Content-Type: image/jpg");
print($image);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
Make files as undelete-able or non-editable
Restore plain dump file using console
Set default pages for various Server errors
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Err: LD_LIBRARY_PATH not set for normal user except root
Err: Couldn't open header file ...
Bulk Convert Office Documents into PDF using unoconv
BigBlueButton: Changing of port number from 80 to new one
Passing data between Views
Allowing web users to browse your local drive files
No comments:
Post a Comment