technically can I store flash file into Mysql DB using PHP?
what point should I pay attention for that?
Thank you
Newbie: can I store flash file into Mysql DB
Moderator: General Moderators
Re: Newbie: can I store flash file into Mysql DB
You can, but why would you want to?
Re: Newbie: can I store flash file into Mysql DB
Simply that's what my end user want. And I against it because if store a great deal of files (even they are small in size),
I might suffer the pain of performance.
What about your opinion? What is merit of storing files into DB?
regards
I might suffer the pain of performance.
What about your opinion? What is merit of storing files into DB?
regards
Re: Newbie: can I store flash file into Mysql DB
Your file system is designed to store files, use it for that.
There's no harm however in having a database table that relates to those files on the file system with a column that stores the path of your flash file, that is how I would personally do it.
id name path
1 Funny Donkey /flash-files/donkey.swf
2 Black Cat /flash-files/black-cat.swf
3 Multimedia Player /somewhere-else/multimedia.swf
4 Cheeky /lol/cheeky.flv
I would of course have all the flash files in the same folder. and not have a full path, just have a file name.
There's no harm however in having a database table that relates to those files on the file system with a column that stores the path of your flash file, that is how I would personally do it.
id name path
1 Funny Donkey /flash-files/donkey.swf
2 Black Cat /flash-files/black-cat.swf
3 Multimedia Player /somewhere-else/multimedia.swf
4 Cheeky /lol/cheeky.flv
I would of course have all the flash files in the same folder. and not have a full path, just have a file name.