Store a link to the file! Mainly because filesystems are designed to store, er.. files ;-)
There's a note on Mysql's manual, under Optimizations, that recommends this. -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br "Php List" <[EMAIL PROTECTED]> wrote in message 051c01c1ebea$165b2070$[EMAIL PROTECTED]">news:051c01c1ebea$165b2070$[EMAIL PROTECTED]... > 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 right > in the table? I like the idea of not cluttering up my file system. Pictures > would only be about in the 20K range. > > Thanks, > Chris > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php