I would rather store the files on disk and the filenames in the database for more 
speed.

I'm a developer on a website which members have an uploaded image of theirself.. 
We just have a image directory with filenames as [username].jpg
This dir is therefore easily mapped to the web with an Alias directive in the Apache 
config.

But, that specific solution is good if you're going to use it for a website, maybe not 
for a
java application or something..  

Well, I hope you got some ideas now.. Just don't store the images in the database.. it 
will
be a performance buster.


Regards,
Johan Andersson
Consultant


----- Original Message ----- 
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 9:01 AM
Subject: Re: Storing pictures in mySQL


> At 08:55 4-4-01 +0200, Nicolas Villatte wrote:
> >is it possible? If yes, how ?
> 
> Yes.. BLOB (BinaryLargeOBject) Check the archive, and manual.
> 
> Bye,
> 
> 
> B.
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to