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
...
-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
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
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
: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
5 matches
Mail list logo