Word doc support - documents upload

innocuous wrote on Wednesday, October 26, 2005:

Hi,
Does documents support word doc format? I can upload the doc files but when I click on them, it popups an unknown file type controller.php with open view options.
Working with jpg, displays the file inline.
Tried on both opera as well as IE.

Opening even a txt file displays the popup but when I click on open, it displays the file properly. Doc is all gibberish.
Which all file formats are supported?

andres_paglayan wrote on Wednesday, October 26, 2005:

pdfs are fine.

sankar1234 wrote on Tuesday, November 01, 2005:

I was able to upload a MS-Doc file.  I was able to retrieve and see them clearly. 

Dr. Bowen mentioned that there is a settings that require to see the files clearly, not gibberish.  

innocuous wrote on Thursday, November 03, 2005:

Can you tell me what the settings are?

sankar1234 wrote on Friday, November 04, 2005:

Actually,  for me it was related to  disappearing of ack slashes in the file path names.  Your problem may not same as mine.  Anyway, this information might be useful to you. 

This may be related to "Magic Quotes".  If your Apache web server is
set to "Magic Quotes = On" the magic quites will strip the back
slashes out of the path. There is a discusion of this on the old
forum at http://www.openemr.net/ .  This was also a Windows user who
was using a XAMP installation.  I am not sure how he resolved the
issue. Clearly we are trying to escape special characters in OpenEMR
as we go along with the coding as a basic precaution against
cross-scripting attacks and other monkey business.  "Magic Quotes =
On" was the PHP default prior to ~4.2.  I am not sure but it may have
been turned back on for the XAMP for Windows.  Having this turned
causes too many back slashes to be removed.

innocuous wrote on Tuesday, November 08, 2005:

Magic quotes is turned off
:slight_smile:
Still no support for docs