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: 20050118143944.GC19947@freenet.de (view raw or flat)
Thread:
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 *
*************************************************************************

Hello, 

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 ?

Second:

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.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

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-2014 The PostgreSQL Global Development Group