pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michelle Konzack <linux4michelle@freenet.de>
To: pgsql-php@postgresql.org
Subject: base64 encoded images plus php
Date: Tue, 18 Jan 2005 15:39:44 +0100
Message-ID: <20050118143944.GC19947@freenet.de> (raw)

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

Attachments:

  signature.pgp (application/pgp-signature, 188B) download

Message-ID: <20050118143944.GC19947@freenet.de>
Permalink:  ../20050118143944.GC19947@freenet.de/
Also on:    postgresql.org/message-id/20050118143944.GC19947@freenet.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: linux4michelle@freenet.de
  Subject: Re: base64 encoded images plus php
  In-Reply-To: <20050118143944.GC19947@freenet.de>
  References: <20050118143944.GC19947@freenet.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox