Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group