blueimp/jQuery-File-Upload — Issue #1062: upload success view file using codeigniter is text and not an HTML webpage, why?
Author: tim-peterson
Created: 2012-03-01 01:21:21+00:00
State: open

I've succeeded in uploading files to folders on my server using codeigniter along with this Blueimp/jQuery-File-Upload plugin. However, I'm having trouble with the action="/upload/success" and displaying the actual "success.php" view file for the success.

here's the relevant "Upload" controller:

function index() {
$this->load->view('upload/index'); // this is the index.php in the parent directory of the plugin
}

function success() {
require('server/php/index.php'); // this is the index.php inside the server folder of the plugin
$this->load->view('upload/success");
}

So basically when i upload multiple files, then the output is text and not HTML.

any thoughts on how to actually make the upload/success.php view file an actual HTML page?

thanks,
tim