Skip site navigation (1) Skip section navigation (2)

base64 encoded images plus php

From: Michelle Konzack <linux4michelle(at)freenet(dot)de>
To: pgsql-php(at)postgresql(dot)org
Subject: base64 encoded images plus php
Date: 2005-01-18 14:39:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
* Do not Cc: me, because I am on THIS list, if I write here             *
* Keine Cc: am mich senden, bin auf DIESER Liste wenn ich hier schreibe *


For two years (I think) I was giving up to store pics in the Database,
but now I must do it...

I like to do following:

My clients can connect via Webinterface to my database and request
Data in form of text and binaries. I like to use something, where the
requested Data are copied into a new temp-table and then the Client
can download and import it into his/her postgresql

My question is now, how can I do that ?


I like to store the images inside the postgresql base64 encoded with
the http headers (I can add searchable comments inside the database).

How can I get the images back into the website?

Because the http Header is already there, I know, that I can send it
per nph (tested from a BASH-CGI) but I do not know, how to do that
from php.


Linux-User #280138 with the Linux Counter, 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (

pgsql-php by date

Next:From: Raul SecanDate: 2005-01-24 16:47:33
Subject: to_char replacement
Previous:From: Frank BaxDate: 2004-12-30 20:34:15
Subject: Re: too many clients

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group