On 2001-02-18, Jon Roig did say,

> It's actually pretty simple.
> 
> Here's an excellent tutorial on how to do it with PHP.
> 
> http://www.oreillynet.com/pub/a/php/2000/09/15/php_mysql.html
> 
> > From: Nikhilesh Haval <[EMAIL PROTECTED]>
> > 
> > I want to store different file formats in a database like images (*.jpg)
> > or audio files (*.mp3). Is it possible to do so in mysql?

Side note - it is usually considered highly inefficient to store mp3s
etc in a database.  You already have an excellent database for doing
so - the filesystem.  Store the path to the image etc in the database
instead.  Reads out of the filesystem may even be faster than the
database (but I'm not sure, I never benchmarked that).

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.


---------------------------------------------------------------------
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