X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id ACD5FD1C512 for ; Tue, 3 Feb 2004 01:08:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 79243-01 for ; Mon, 2 Feb 2004 21:08:18 -0400 (AST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by svr1.postgresql.org (Postfix) with ESMTP id 4F557D1BCA7 for ; Mon, 2 Feb 2004 21:08:14 -0400 (AST) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Anp2z-0007XN-00; Tue, 03 Feb 2004 02:08:13 +0100 Received: from [80.145.75.194] (helo=zwerg2000) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Anp2z-0006jo-00; Tue, 03 Feb 2004 02:08:13 +0100 Message-ID: <00fc01c3e9f2$936f05b0$0201a8c0@zwerg2000> From: "Cornelia Boenigk" To: "Paul & Natalie T" , References: <003c01c3e948$ee2bc970$4f00a8c0@MIDDINKS> <00c101c3e9c0$79373640$0201a8c0@zwerg2000> <401EE1F0.2030106@shentel.net> Subject: Re: Load Image from File to Store in ByteA Field Date: Tue, 3 Feb 2004 02:09:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:3729ab4bb5525dad81693a55f34190d5 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/12 X-Sequence-Number: 2560 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