title: Blueimp/jQuery-File-Upload plugin upload success view file using Codeigniter is text and not an HTML webpage, why?
body: <p>I've succeeded in uploading files to folders on my server using codeigniter along with the Blueimp/jQuery-File-Upload plugin. However, I'm having trouble with the form action="/upload/success" and displaying the actual "success.php" view file that one would see after successfully uploading some files.</p>
  
  <p>Here's the relevant part of the "Upload" controller:</p>
  
  <pre><code>function index() {
  $this-&gt;load-&gt;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
   // don't need to load a view file, $this-&gt;load-&gt;view('upload/success");    it's AJAX      
  }
  </code></pre>
  
  <p>So basically when I upload multiple files, the <strong>problem</strong> is that the output is text and not HTML.</p>
  
  <p>Any thoughts on how to actually make the upload/success.php view file an actual HTML page?</p>