From owner-freebsd-hackers Fri Jun 23 15:18:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 7352E37B8C9 for ; Fri, 23 Jun 2000 15:18:45 -0700 (PDT) (envelope-from murray@osd.bsdi.com) Received: from localhost (murray@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id PAA50321; Fri, 23 Jun 2000 15:16:55 -0700 (PDT) (envelope-from murray@osd.bsdi.com) Date: Fri, 23 Jun 2000 15:16:55 -0700 (PDT) From: Murray Stokely To: "Daniel O'Connor" Cc: "Nicole Harrington." , Luigi Rizzo , hackers@FreeBSD.ORG Subject: Re: How many files can I put in one diretory? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 23 Jun 2000, Daniel O'Connor wrote: % I chunk of binary data you can put in a DB. % % Like an image, or an mpeg, or a sound file.. % % AFAIK postgres supports BLOBS. So does MySQL. You can display a BLOB using a Perl/DBI cgi script with about 5 lines of code. Just print the correct Content-type header and then the contents of the BLOB. - Murray To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message