X-Original-To: pgsql-php@postgresql.org Received: from shield.pirmabanka.lv (unknown [195.114.57.4]) by postgresql.org (Postfix) with ESMTP id 6ED23475B99 for ; Thu, 20 Mar 2003 06:02:48 -0500 (EST) Received: from wall2.pirmabanka.lv (wall2-pub.pirmabanka.lv [195.114.57.14]) by shield.pirmabanka.lv (8.12.8/8.9.3) with SMTP id h2KB2ntw019488 for ; Thu, 20 Mar 2003 13:02:49 +0200 Received: from share.pirmabanka.lv ([10.0.0.10]) by wall2.pirmabanka.lv; Thu, 20 Mar 2003 13:02:48 +0200 (EET) Received: from pc311x1.pirmabanka.lv (localhost.localdomain [127.0.0.1]) by pirmabanka.lv (8.11.6/8.11.6) with SMTP id h2KB2mn06364 for ; Thu, 20 Mar 2003 13:02:48 +0200 Received: (qmail 16577 invoked by uid 100); 20 Mar 2003 11:03:42 -0000 Date: Thu, 20 Mar 2003 13:03:42 +0200 From: "Victor Yegorov" To: "Grant Henderson" Cc: "Postgres PHP" Subject: Re: manage stored files via web Message-ID: <20030320110342.GC16456@pirmabanka.lv> Mail-Followup-To: "Grant Henderson" , "Postgres PHP" References: <31EA81C61A3D014F8D6933864F32C604049D25@server1.fusion-advertising.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline In-Reply-To: <31EA81C61A3D014F8D6933864F32C604049D25@server1.fusion-advertising.co.uk> User-Agent: Mutt/1.4i X-Archive-Number: 200303/24 X-Sequence-Number: 1936 --WplhKdTI2c8ulnbP Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Grant Henderson [20.03.2003 12:58]: > It would be better if you haven't gone to far already to save the files > into an level above the web directory and simply save the link to the > file into a varchar in the DB. > Then just call the link into an . >=20 I'm saving them not directly on my disk, I store them inside my POstgreSQL database as Large Object. --=20 Victor Yegorov --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+eaAO2RKGLEykUDYRAs0zAJ4qJTwcdINyxgq5guhZ2JgwU2FPrgCgwjBo 6VMSSYMUKPkYfspIxVAsvv4= =n8X5 -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP--