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
Err: Unlock Login Keyring in Ubuntu 11.10 problem
List file names with modified time stamp customized
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
PDOException: Invalid text representation
Download cached flash videos of Firefox and Chrome in Linux(Ubuntu)
Make files as undelete-able or non-editable
Turn USB write protect flag off
Internet Images
Remove line numbers from source code using sed
Bulk rename using bash rename command
No comments:
Post a Comment