Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2009
    Thanked 1 Time in 1 Post

    garbage chars in msword file in SIMPLE(php, mysql, apache, SUSE) package

    we are using SIMPLE package for virtual learning.

    it has a section where student or staff can upload text, msword documents, pdf, jpg and html files. all type of files working fine instead of msword doc files.

    it is working fine on windows with default xampp installation.

    on opensuse 10 uploading goes without any error but when the same file is downloaded it ask for type of encoding. no matter what kind of encoding is selected it produce just garbage characters .
    files are stored in mysql databases.

    as it is working on windows machine but not on linux so it may be something to do with apache or php on linux. please help


  2. #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Denver, Colorado USA
    Thanked 510 Times in 498 Posts
    It is likely a problem with escaping special characters and the magic_quotes_runtime setting. What does a phpinfo(); statement show for all the magic_quotes_xxxxx settings on both the system where it works and on the system where it does not work?
    Finding out HOW to do something is called research, i.e. keep searching until you find the answer. After you attempt to do something and cannot solve a problem with it yourself, would be when you ask others for help.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts