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);


Posted by Senthil kumar at 12/31/2008 01:40:00 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: PHP

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
  • Download cached flash videos of Firefox and Chrome in Linux(Ubuntu)
  • Err: Major problems have been detected and must be fixed before continuing while installing Symfony 2
  • Add day, month and year with date field
  • MKV to AVI using mencoder
  • Err: Requires php-cofig folder to be configured or located
  • Type Cheking
  • Multi column check in sub query
  • Turn USB write protect flag off
  • To run remote host's application from our machine

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Search in this Blog ...

Labels

  • Linux (49)
  • Errors (44)
  • PostgreSQL (44)
  • Ubuntu (38)
  • PHP (34)
  • How to (33)
  • Java Script (15)
  • Tips (15)
  • Apache (11)
  • Regular Exp (11)
  • Drupal (9)
  • Open Office (9)
  • CSS (6)
  • Flash Builder for PHP (6)
  • Symfony (5)
  • Web (5)
  • Windows (5)
  • Eclipse (3)
  • Programming (3)
  • Advanced SQL (2)
  • Firefox (2)
  • Android (1)
  • Chrome (1)
  • HipHop (1)
  • Java (1)
  • Links (1)
  • MySQL (1)
  • Softwares (1)
  • Utilities (1)

Followers

Senplusone. Simple theme. Powered by Blogger.