views:

57

answers:

2

Hi does anyone know why MS Office such as doc, docx and xls can no longer be viewed when retrieved from a mysql db when stored as Blob? The doc and docx used to download and open without any problem, but now it no longer recognises the file format.

A: 

No longer? Did this work with your current code, MySQL version and MS Office version previously?

tkalve
Yes, other users had uploaded doc, docx - it was only brought to attention because of a recent xls file that developed pop up file not recognised syndrome. This extended to previous word files too - those that had been uploaded and downloaded ok.
Ddywalgi
The something has changed.. Is this a web application?
tkalve
It is not a web application, it is however populated via browser interface. Tried different browsers to no avail. Thanks
Ddywalgi
A: 

Did you try with a short txt file instead of .doc and see if the contents are different than what you expected?

Esben Skov Pedersen
The .doc and .docx worked originally. PDF works, but nothing Office downloads correctly in binary when retrieved from the database, whether this is a change in mysql, php or MS, I am without a path to follow.Thankyou for your time EsbenP.
Ddywalgi
txt works .... thanks
Ddywalgi