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
Wordpress to Blogger migration too easy..
PDOException: Invalid text representation
Div tag alignment problem in Drupal
SQL formatting tool online
Remove line numbers from source code using sed
Err: Control reached end of function without RETURN in PL/PGSQL
Building Flex application for a PHP class using Flash Builder 4 « Sujit Reddy G – The Evangelist
Ubuntu upgrading - mount /tmp as noexec error
PostgreSQL data folder backup and restore in Ubuntu Linux
Err: Unlock Login Keyring in Ubuntu 11.10 problem
No comments:
Post a Comment