Re: FW: How to store binaries and ASCII files in DB

From: Pawel Bernat <asm(at)vlo(dot)olsztyn(dot)pl>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: FW: How to store binaries and ASCII files in DB
Date: 2005-06-15 13:00:22
Message-ID: 20050615150022.A16107@vlo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Wed, Jun 15, 2005 at 12:42:28PM +0200, Weber Matthias wrote:
> is their any php code example on how to store files (binary and ASCII) into a postgres db?
http://www.php.net/manual/en/function.file-get-contents.php
http://www.php.net/manual/en/function.pg-escape-bytea.php
http://www.php.net/manual/en/function.pg-escape-string.php
http://www.php.net/manual/en/function.pg-query.php

p.
--
Paweł Bernat; uselessness' lover;
select'<asm'||chr(64)||'asm'||'.'||'flynet'||chr(46)||'pl>'as email;
Slowly and surely the unix crept up on the Nintendo user ...

In response to

Browse pgsql-php by date

  From Date Subject
Next Message operationsengineer1 2005-06-15 15:27:16 Re: pg_dump
Previous Message Volkan YAZICI 2005-06-15 10:57:48 Re: FW: How to store binaries and ASCII files in DB