Sunday, December 27, 2009

Can I store files (small macromedia flash files or whatever) in a field in Mysql database?

If it is possible how It would be?Can I store files (small macromedia flash files or whatever) in a field in Mysql database?
I believe that you could technically, but that would be an extremely complicated way of doing it. Best to store the flash file in a directory on the web server and store its location in th emysql database field and then use that to create the reference on your web page.Can I store files (small macromedia flash files or whatever) in a field in Mysql database?
Depends on the MySQL *version* you're using.





The ';LONGBLOB'; field can be used to store binary data, as long as you know how to stream it in (and out again) without corrupting it.





Start here: http://www.phpbuilder.com/columns/floria鈥?/a>
we need a multimedia DB..to store multimedia files..ordinary DB cant handle it....
No because MySQL Databases only support text fields.





But you could save your file on webspace with a link in your database.

No comments:

Post a Comment