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
PDOException: Invalid text representation
Selective cell protection in Spreadsheet
Err: Control reached end of function without RETURN in PL/PGSQL
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Err: There is no unique constraint matching given keys for referenced table
Wordpress to Blogger migration too easy..
Edit pages at run time for edit or spell check without any tool
Add day, month and year with date field
Sorting of Alphanumeric Column
List file names with modified time stamp customized
No comments:
Post a Comment