Re: Storing images in MySQL bad idea, performance-wise?
| From: | Analysis & Solutions | Date: | Mon, 08 Jul 2002 23:00:23 +0000 |
| Subject: | Re: Storing images in MySQL bad idea, performance-wise? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106195@lists.php.net to get a copy of this message | ||
On Mon, Jul 08, 2002 at 04:34:20PM -0600, René Fournier wrote:
>
> Do I store all such images in the DB? (Which I understand reduces
> performance.)
You can, but it's a pain and inefficient.
> Or do I--somehow--store the images as files on the client's web server?
> And if so, how? (Because my PHP scripts are being executed on a
> different server.)
Images don't have to be served from one the page is on. Use a fully
qualified URI in the img src.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409