ZeeGeek
2005-08-23 14:49:08 UTC
I'm not sure about how to store a file into the database. I know that
the field type is blob and I have to open the file with fstream in
binary mode. Do I use a char * to store the file into the memory and
then put it in the database?
--=20
Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility
the field type is blob and I have to open the file with fstream in
binary mode. Do I use a char * to store the file into the memory and
then put it in the database?
--=20
Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=3Dmysql-***@freebsd.csie.nctu.edu.tw
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=3Dmysql-***@freebsd.csie.nctu.edu.tw