Exactly my point ... when it is needed it is good to use it,

But for an e-commerce site for example, associating graphics with products
it is too stupid to have these in databases.

Just call them like 000025558.gif and in the script <IMG
SRC=\"$usual_folder/$id.gif\"> and it's UP!

That what I try toy make people understand, some think that it is cooler
having graphics in the database, but it is actually a political war between
database maker ... "They support it? then I gotta do so too, or I'll lose
the market..."

Cheers,
Maxim Maletsky



-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 12:41 PM
To: Maxim Maletsky; 'Adrian Murphy'; [EMAIL PROTECTED]
Subject: Re: [PHP] pro's and con's of storing images


This may be getting off topic, but the only way storing images in a database
DOES make sense is if you are accessing the the database via WebDAV.

.02


Best regards,
Andrew
---------------------------------------
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com

On 2/15/01 10:18 PM, "Maxim Maletsky" <[EMAIL PROTECTED]> wrote:

> How many times do I have to post it here ...
> 
> People, store the graphics (or any other kind of uploaded and not-uploaded
> files) our of DBs, put them in some logic way in some directories so they
> are easier to use. Not in DB. In DB it will just getting slower.
> 
> UNLESS there is no other solution for a problem you could have.
> 
> my point: whenever it is possible to store the files in folders rather
then
> DBs - store them so.
> 
> Cheers,
> Maxim Maletsky
> 
> 
> 
> -----Original Message-----
> From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 14, 2001 9:12 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] pro's and con's of storing images
> 
> 
> I'm putting togeather a simple website buider app.
> i'm allowing users to upload images.I'm wondering whether i should store
> those images in a database or create dirs for each user.the mysql db has a
> relatively small capacity but storing them to the db might make it simpler
> for me.
> also ftp functions don't work on the server and my damn isp keeps fobbing
me
> off when i ask him to do anything.
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to