Hello, i磎 from BRAZIL...
I need to insert a .doc or .xls file into a database. I磎 using MSSQL 2000+PHP3.
- first i upload the .doc file;
- second i read the file and put it in a $string;
- finaly i insert the $string into a database field ('TEXT' field type);
But when i got the data from database, was just retuned a piece of original file data.
(The doc file size is about 70Kb.)What happen?
Please help me with a solution.
Well thanks for your attention,
[sorry, my english is not good]
Anderson Sone
Brazil-PR-Curitiba
I need to insert a .doc or .xls file into a database. I磎 using MSSQL 2000+PHP3.
- first i upload the .doc file;
- second i read the file and put it in a $string;
- finaly i insert the $string into a database field ('TEXT' field type);
But when i got the data from database, was just retuned a piece of original file data.
(The doc file size is about 70Kb.)What happen?
Please help me with a solution.
Well thanks for your attention,
[sorry, my english is not good]
Anderson Sone
Brazil-PR-Curitiba