[PHP] To store or not to store . . .

2002-04-24 Thread PHP List
Hi, I was wondering about the following: Should I store a picture directly in a MySQL table? Or just store the link to a file on the system somewhere? I would think that leaving the picture as an actual file and just storing the link would be quicker. But what are the dis/advantages of storing

RE: [PHP] To store or not to store . . .

2002-04-24 Thread John Holmes
... -Original Message- From: PHP List [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 4:45 PM To: php Subject: [PHP] To store or not to store . . . Hi, I was wondering about the following: Should I store a picture directly in a MySQL table? Or just store the link to a file

Re: [PHP] To store or not to store . . .

2002-04-24 Thread Richard Archer
At 4:45 PM -0700 24/4/02, PHP List wrote: I was wondering about the following: Should I store a picture directly in a MySQL table? Or just store the link to a file on the system somewhere? This should be a FAQ. If you allow people to upload files via a web form, your only secure option is to

RE: [PHP] To store or not to store . . .

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Personally I think databases these days (MySQL in my experience at least) are more than reliable enough and fast enough to serve up binary data in quite large quantities. If you run into performance issues, implement a caching solution run from a crontab. I had a very, very bad experience

Re: [PHP] To store or not to store . . .

2002-04-24 Thread Dennis Moore
:45 PM Subject: [PHP] To store or not to store . . . Hi, I was wondering about the following: Should I store a picture directly in a MySQL table? Or just store the link to a file on the system somewhere? I would think that leaving the picture as an actual file and just storing the link would