RE: storing files in database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michiel,

You could try storing them in the longtext (text) or longblob (binary)
fields.  Search at www.mysql.com for more information about the differences
between them.  Unless you need to search on the data within MySQL, storing
files (especially long ones) in the database usually isn't the best
solution.

Bev

----------------------
Beverly Steiner
steiner277@charter.net


-----Original Message-----
From: Michiel van Heusden [mailto:michiel@aemulatio.nl]
Sent: Tuesday, March 18, 2003 8:25 AM
To: php-db@lists.php.net
Subject:  storing files in database


is there any possibility using PHP 4 to store entire files as a database
field in a MySQL database?
and if so, does anybody know a way, or a tutorial describing this?

thanks
michiel



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux