From: Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
To: Paul & Natalie T <pntil@shentel.net>
To: pgsql-php@postgresql.org
Subject: Re: Load Image from File to Store in ByteA Field
Date: Tue, 3 Feb 2004 02:09:04 +0100
Message-ID: <00fc01c3e9f2$936f05b0$0201a8c0@zwerg2000> (raw)
References: <003c01c3e948$ee2bc970$4f00a8c0@MIDDINKS>
<00c101c3e9c0$79373640$0201a8c0@zwerg2000>
<401EE1F0.2030106@shentel.net>
hi Paul
> Any modern version of PHP which has pg_ specific functions can do it
> like this:
You are 100% right.
My application had to run with PHP below 4.2 where pg_escape_bytea()
was not yet defined. And it works also with higher PHP versions ;-)
Conni
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: poppcorn@cornelia-boenigk.de, pntil@shentel.net
Subject: Re: Load Image from File to Store in ByteA Field
In-Reply-To: <00fc01c3e9f2$936f05b0$0201a8c0@zwerg2000>
References: <003c01c3e948$ee2bc970$4f00a8c0@MIDDINKS> <00c101c3e9c0$79373640$0201a8c0@zwerg2000> <401EE1F0.2030106@shentel.net> <00fc01c3e9f2$936f05b0$0201a8c0@zwerg2000>
* 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