Re: pg_[un]escape_bytea, pgsql 8.2.1, php 5.1.6, Linux

From: ellis(at)spinics(dot)net
To: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_[un]escape_bytea, pgsql 8.2.1, php 5.1.6, Linux
Date: 2007-02-02 05:32:59
Message-ID: 1170394379.757745@no.spam
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

In article <302670f20702011827x28d9a689m388b2c8a703f31af(at)mail(dot)gmail(dot)com>,
Gary Chambers <gwchamb(at)gmail(dot)com> wrote:

>I have inserted (via pg_query_params) into a bytea field some
>binary data (a JPEG image in this case) which I have escaped
>using pg_escape_bytea.

I just use a text field and base64 encode the image. It works great.

--
http://yosemitephotos.net/

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Karthikeyan Sundaram 2007-02-02 19:51:50 Question regarding multibyte.
Previous Message Gary Chambers 2007-02-02 02:27:23 pg_[un]escape_bytea, pgsql 8.2.1, php 5.1.6, Linux