Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9143839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:07:22+00:00 2026-06-17T10:07:22+00:00

I am using Fine uploader to upload images. I include javascript from GitHub .

  • 0

I am using Fine uploader to upload images. I include javascript from GitHub.
I include:

  • jquery-1.8.3.min.js
  • util.js
  • button.js
  • handler.base.js
  • handler.form.js
  • handler.xhr.js
  • uploader.basic.js
  • dnd.js

I want to use it as Fine Uploader Basic (FUB) because it’s easy customize.

Below is my server code in PHP just return json:

$result = array("success"=>true, "id"=>"001", "name"=>"dararath");
header("Content-Type: text/plain");
echo json_encode($result);

It work fine in Chrome, Firefox and IE 9 but IE 8 and 7 show save dialog instead of json.

  • Does my include of javascript correct?
  • Does my php json error or have any code in Fine Uploader to correct this behavior, because in it’s example test on IE 7 and IE 8 work fine?

Update (2016-07-21)

I need to change header to solve the problem.

$result = array("success"=>true, "id"=>"001", "name"=>"dararath");
header("Content-Type: application/json");
echo json_encode($result);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:07:23+00:00Added an answer on June 17, 2026 at 10:07 am

    First, I suggest you download the combined version of the js. See the downloads section on the home page.

    Second, your problem has been covered many times in the forums and in the issue tracker. I will go ahead and add an entry to the FAQ now as well.

    Solution: Your response MUST have a content-type of “text/plain”. If you are seeing the “Save As” dialog, your response’s content-type is likely “application/json”. Inspect the response carefully to verify.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the AsyncFileUpload control to upload images. It works fine from localhost, but
I'm using the following file uploader with Rails 3: https://github.com/blueimp/jQuery-File-Upload The uploader on the
I am using html5Uploader to upload images and everything is working fine. The part
I am using jQuery form plugin to upload images in my MVC project. For
I am trying to upload images using generic handler as shown below and I
I wrote multi-threaded FTP uploader on C#.NET using libcurl.NET. Everything works fine on my
I'm using uploadify in my MVC3 project. It works fine to upload multiple files
I have an ipad app which takes images from Photos application using ALAssetsLibrary and
I am using the multi-upload plugin found at: http://www.fyneworks.com/jquery/multiple-file-upload/ This is what I am
Hope you all will be fine. Actually i want to upload image files from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.