logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

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

Subject: Re: FW: How to store binaries and ASCII files in DB
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 ...

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq



<Prev in Thread] Current Thread [Next in Thread>