Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-26-2009, 06:14 AM   PM User | #1
skywaves
New Coder

 
Join Date: Jun 2009
Posts: 28
Thanks: 4
Thanked 0 Times in 0 Posts
skywaves is an unknown quantity at this point
garbage chars in msword file in SIMPLE(php, mysql, apache, SUSE) package

Hi
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

thanks
skywaves is offline   Reply With Quote
Old 08-26-2009, 06:43 AM   PM User | #2
CFMaBiSmAd
Senior Coder

 
CFMaBiSmAd's Avatar
 
Join Date: Oct 2006
Location: Denver, Colorado USA
Posts: 2,712
Thanks: 2
Thanked 251 Times in 243 Posts
CFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the rough
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?
__________________
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.
CFMaBiSmAd is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:43 PM.


Advertisement
Log in to turn off these ads.